deprecated line sensor features More...
Macros | |
#define | kLineNone |
deprecated bit mask: see kLineDigitalNone | |
#define | kLineFrontLeft |
deprecated bit mask: see kLineDigitalFrontLeft | |
#define | kLineFrontMiddle |
deprecated bit mask: see kLineDigitalFrontMiddle | |
#define | kLineFrontRight |
deprecated bit mask: see kLineDigitalFrontRight | |
#define | kLineMiddleLeft |
deprecated bit mask: see kLineDigitalMiddleLeft | |
#define | kLineMiddleRight |
deprecated bit mask: see kLineDigitalMiddleRight | |
#define | kLineAll |
deprecated bit mask: see kLineDigitalAll | |
Functions | |
uint8_t | line_enable_get (void) |
Returns the last stored enable value of the line sensors. More... | |
uint8_t | line_threshold_get (void) |
Returns the last stored threshold value of the line sensors. More... | |
uint8_t | line_digital_get (uint8_t bitmask) |
Returns the last stored value of the masked digital evaluation of the line sensors. More... | |
void | line_enable_set (uint8_t enable) |
Sets the enable value of the line sensors. More... | |
void | line_threshold_set (uint8_t threshold) |
Sets the threshold value of the line sensors. More... | |
deprecated line sensor features
uint8_t line_digital_get | ( | uint8_t | bitmask | ) |
Returns the last stored value of the masked digital evaluation of the line sensors.
Function is deprecated!
Internal conversion:
uint8_t line_digital_get(uint8_t bitmask) { return line_get(kLineGetDigital) & bitmask; }
uint8_t line_enable_get | ( | void | ) |
Returns the last stored enable value of the line sensors.
Function is deprecated!
void line_enable_set | ( | uint8_t | enable | ) |
uint8_t line_threshold_get | ( | void | ) |
Returns the last stored threshold value of the line sensors.
Function is deprecated!
void line_threshold_set | ( | uint8_t | threshold | ) |