#define ReadSensorHTGyro ( _p,
_offset,
_val   )     __ReadSensorHTGyro(_p, _offset, _val)

Read HiTechnic Gyro sensor.

Read the HiTechnic Gyro 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.

Parameters:
_p The sensor port. See NBC Input port constants.
_offset The zero offset.
_val The Gyro sensor reading.

Generated by  doxygen 1.6.2