Read HiTechnic Angle sensor values.
Read values from the HiTechnic Angle sensor. 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
-
port | The sensor port. See Input port constants. |
Angle | Current angle in degrees (0-359). |
AccAngle | Accumulated angle in degrees (-2147483648 to 2147483647). |
RPM | rotations per minute (-1000 to 1000). |
- Returns
- The function call result.
- Examples:
- ex_ReadSensorHTAngle.nxc.