Arduino {code}racer API
... better know the details.
|
Functions | |
void | CodeRacer::set_leds_left_stop_frwd_right (ledstate leftled, ledstate stopled, ledstate frwdled, ledstate rightled) |
Sets all of the 4 LEDs to a ledstate (LEDON, LEDOFF) More... | |
void | CodeRacer::set_leds_all (ledstate alleds) |
Sets all of the 4 LEDs to the same ledstate (LEDON, LEDOFF) More... | |
void | CodeRacer::set_leds_all_off () |
Sets all of the 4 LEDs to the ledstate LEDOFF. More... | |
void | CodeRacer::set_leds_all_on () |
Sets all of the 4 LEDs to the ledstate LEDON. More... | |
void CodeRacer::set_leds_left_stop_frwd_right | ( | ledstate | leftled, |
ledstate | stopled, | ||
ledstate | frwdled, | ||
ledstate | rightled | ||
) |
Sets all of the 4 LEDs to a ledstate (LEDON, LEDOFF)
leftled | set state of status left LED (most left yellow led) |
stopled | set state of status stop LED (red led) |
frwdled | set state of status forward LED (green or blue led) |
rightled | set state of status right LED (most right yellow led) |
Definition at line 1037 of file CodeRacer.cpp.
void CodeRacer::set_leds_all | ( | ledstate | alleds | ) |
Sets all of the 4 LEDs to the same ledstate (LEDON, LEDOFF)
alleds | set state to all status LEDs |
Definition at line 1048 of file CodeRacer.cpp.
void CodeRacer::set_leds_all_off | ( | ) |
Sets all of the 4 LEDs to the ledstate LEDOFF.
Definition at line 1058 of file CodeRacer.cpp.
void CodeRacer::set_leds_all_on | ( | ) |
Sets all of the 4 LEDs to the ledstate LEDON.
Definition at line 1065 of file CodeRacer.cpp.