![]() |
Open FFBoard
Open source force feedback firmware
|
Go to the source code of this file.
Classes | |
| struct | Ledstruct |
Typedefs | |
| typedef struct Ledstruct | Ledstruct_t |
Functions | |
| void | blinkLed (Ledstruct_t *led, uint16_t period, uint16_t blinks) |
| void | pulseSysLed () |
| void | pulseErrLed () |
| void | pulseClipLed () |
| void | blinkSysLed (uint16_t period, uint16_t blinks) |
| void | blinkErrLed (uint16_t period, uint16_t blinks) |
| void | blinkClipLed (uint16_t period, uint16_t blinks) |
| void | updateLed (Ledstruct_t *led) |
| void | updateLeds () |
| void | setLed (Ledstruct_t *led, uint8_t on) |
| void | setClipLed (uint8_t on) |
| void | setErrLed (uint8_t on) |
| void | setSysLed (uint8_t on) |
| typedef struct Ledstruct Ledstruct_t |
| void blinkClipLed | ( | uint16_t | period, |
| uint16_t | blinks ) |
Definition at line 61 of file ledEffects.cpp.
| void blinkErrLed | ( | uint16_t | period, |
| uint16_t | blinks ) |
Definition at line 58 of file ledEffects.cpp.
| void blinkLed | ( | Ledstruct * | led, |
| uint16_t | period, | ||
| uint16_t | blinks ) |
Blinks led x times with period in ms 0 blinks causes led to blink forever. To stop blinking set period and blinks to 0
Definition at line 25 of file ledEffects.cpp.
| void blinkSysLed | ( | uint16_t | period, |
| uint16_t | blinks ) |
Definition at line 55 of file ledEffects.cpp.
| void pulseClipLed | ( | ) |
Definition at line 49 of file ledEffects.cpp.
| void pulseErrLed | ( | ) |
Definition at line 44 of file ledEffects.cpp.
| void pulseSysLed | ( | ) |
Definition at line 39 of file ledEffects.cpp.
| void setClipLed | ( | uint8_t | on | ) |
Definition at line 70 of file ledEffects.cpp.
| void setErrLed | ( | uint8_t | on | ) |
Definition at line 74 of file ledEffects.cpp.
| void setLed | ( | Ledstruct_t * | led, |
| uint8_t | on ) |
Definition at line 65 of file ledEffects.cpp.
| void setSysLed | ( | uint8_t | on | ) |
Definition at line 78 of file ledEffects.cpp.
| void updateLed | ( | Ledstruct_t * | led | ) |
Definition at line 83 of file ledEffects.cpp.
| void updateLeds | ( | ) |
Must be called periodically to update the state of LEDs
Definition at line 103 of file ledEffects.cpp.