mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Make LED modes customizable
This commit is contained in:
parent
65239677ee
commit
69af8251b8
6 changed files with 21 additions and 27 deletions
|
@ -37,21 +37,4 @@
|
|||
*/
|
||||
#define MAX_AMOUNT_CELLS 192
|
||||
|
||||
/** LED
|
||||
*
|
||||
* Parameter: LED_MODE_DEFAULT
|
||||
* Description:
|
||||
* The default LED mode. Available modes:
|
||||
* CLASSIC - slow up/down ramp
|
||||
* FLOW - slow ramp up or down depending on flow of energy
|
||||
* HEARTBEAT - Heartbeat-like LED pattern that reacts to the system state with color and BPM
|
||||
*
|
||||
* Parameter: LED_PERIOD_MS
|
||||
* Description:
|
||||
* The period of whatever LED mode is active. If CLASSIC, then a ramp up and ramp down will finish in
|
||||
* LED_PERIOD_MS milliseconds
|
||||
*/
|
||||
#define LED_MODE_DEFAULT FLOW
|
||||
#define LED_PERIOD_MS 3000
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue