NXC
Version 1.2.1 r5
|
|
inline |
Read HiTechnic Magnet sensor.
Read the HiTechnic Magnet sensor on the specified port. The offset value should be calculated by averaging several readings with an offset of zero while the sensor is perfectly still.
port | The sensor port. See Input port constants. |
offset | The zero offset. |