Macros | Functions

deprecated encoder features More...

Macros

#define kEncoderLeft
 deprecated constant: see kEncoderGetLeft
 
#define kEncoderRight
 deprecated constant: see kEncoderGetRight
 
#define kEncoderSpeedLeft
 deprecated constant: see kEncoderGetSpeedLeft
 
#define kEncoderSpeedRight
 deprecated constant: see kEncoderGetSpeedRight
 
#define kEncoderClearedLeft
 deprecated constant: see kEncoderGetClearedLeft
 
#define kEncoderClearedRight
 deprecated constant: see kEncoderGetClearedRight
 

Functions

uint8_t encoders_cleared (void)
 Gets if the data block sMD_EncoderClear was received. More...
 
void encoders_request_and_clear (uint8_t request)
 Requests new data for the encoders and clears them immediately. More...
 

Detailed Description

deprecated encoder features

Function Documentation

◆ encoders_cleared()

uint8_t encoders_cleared ( void  )

Gets if the data block sMD_EncoderClear was received.

Function is deprecated!

This function is not needed. If encoders_clear() was called, it waits until encoders are reset!

But if really needed the flag can also be checked with encoders_received().

◆ encoders_request_and_clear()

void encoders_request_and_clear ( uint8_t  request)

Requests new data for the encoders and clears them immediately.

Function is deprecated!

See also
encoders_request() and encoders_clear()