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

Control HiTechnic SuperPro board digital pin direction.

Control the direction of the eight digital pins on the HiTechnic SuperPro 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_superpro.nxc.