NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define TachoCountField   4

Internal tachometer count field.

Contains the current internal tachometer count. Read only. Return the internal position counter value for the specified output. The internal count is reset automatically when a new goal is set using the TachoLimitField and the UF_UPDATE_TACHO_LIMIT flag. Set the UF_UPDATE_RESET_COUNT flag in UpdateFlagsField to reset TachoCountField and cancel any TachoLimitField. The sign of TachoCountField indicates the motor rotation direction.