diff --git a/controller_teensy/include/led.h b/controller_teensy/include/led.h index 41ba30d..9f80c39 100644 --- a/controller_teensy/include/led.h +++ b/controller_teensy/include/led.h @@ -20,6 +20,7 @@ unsigned long last_ledupdate=0; uint8_t led_errorcount=0; //count led progress errors. used for delay at end if any errors occured void led_dotcircle(unsigned long loopmillis); +void led_voltage(unsigned long loopmillis,float vbat,float vbat_min,float vbat_max); void init_led() { strip.begin(); // INITIALIZE NeoPixel strip object (REQUIRED) diff --git a/controller_teensy/src/main.cpp b/controller_teensy/src/main.cpp index 687f7fe..7d407e4 100644 --- a/controller_teensy/src/main.cpp +++ b/controller_teensy/src/main.cpp @@ -1,12 +1,15 @@ #include -#include "led.h" #include "definitions.h" //#include "structs.h" -#include "helpfunctions.h" + #include //for teensy rtc +#include "helpfunctions.h" #include "hoverboard-esc-serial-comm.h" +#include "led.h" + + //#include "comms.h" #include "display.h" #include "logging.h"