NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetSensorHTMagnet ( const byte &  port)
inline

Set sensor as HiTechnic Magnet.

Configure the sensor on the specified port as a HiTechnic Magnet sensor.

Parameters
portThe sensor port. See Input port constants.
Examples:
ex_SetSensorHTMagnet.nxc.