mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Refactor LED defines
This commit is contained in:
parent
cc2f2e9a5b
commit
2621e29e5f
7 changed files with 15 additions and 25 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Do not change any code below this line unless you are sure what you are doing */
|
||||
/* Do not change any code below this lc:\Git\BYD-Battery-Emulator-For-Gen24\Software\src\battery\NISSAN-LEAF-BATTERY.hine unless you are sure what you are doing */
|
||||
/* Only change battery specific settings in "USER_SETTINGS.h" */
|
||||
|
||||
#include <Arduino.h>
|
||||
|
@ -75,12 +75,6 @@ uint16_t cell_max_voltage = 3700; // Stores the highest cell voltage value in t
|
|||
uint16_t cell_min_voltage = 3700; // Stores the minimum cell voltage value in the system
|
||||
|
||||
// LED parameters
|
||||
#define GREEN 0
|
||||
#define YELLOW 1
|
||||
#define RED 2
|
||||
#define BLUE 3
|
||||
#define TEST_ALL_COLORS 10
|
||||
|
||||
Adafruit_NeoPixel pixels(1, WS2812_PIN, NEO_GRB + NEO_KHZ800);
|
||||
static uint8_t brightness = 0;
|
||||
static bool rampUp = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue