NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool SetSensorHTProtoDigitalControl ( const byte  port,
byte  value 
)
inline

Control HiTechnic Prototype board digital pin direction.

Control the direction of the six digital pins on the HiTechnic prototype board. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
valueThe digital pin control value. See SuperPro digital pin constants. OR into this value the pins that you want to be output pins. The pins not included in the value will be input pins.
Returns
The function call result.
Examples:
ex_proto.nxc.