NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void CoastEx ( byte  outputs,
const byte  reset 
)
inline

Coast motors and reset counters.

Turn off the specified outputs, making them coast to a stop.

Parameters
outputsDesired output ports. Can be a constant or a variable, see Output port constants. If you use a variable and want to control multiple outputs in a single call you need to use a byte array rather than a byte and store the output port values in the byte array before passing it into this function.
resetPosition counters reset control. It must be a constant, see Tachometer counter reset flags.
Examples:
ex_coastex.nxc.