From a68df6afab4ad9850ed27b702640b0f228c37e5a Mon Sep 17 00:00:00 2001 From: Fisch Date: Tue, 16 Jul 2024 23:49:45 +0200 Subject: [PATCH] change led gauge min voltage to 3.3V --- controller_teensy/include/led.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller_teensy/include/led.h b/controller_teensy/include/led.h index 8a63f02..3dd5eee 100644 --- a/controller_teensy/include/led.h +++ b/controller_teensy/include/led.h @@ -112,7 +112,7 @@ void led_update(unsigned long loopmillis,ESCSerialComm& escFront, ESCSerialComm& if (loopmillis-last_notidle>5000) { //Standing float vbat=min(escRear.getFeedback_batVoltage(),escFront.getFeedback_batVoltage()); - led_gauge(loopmillis,vbat,3*12,4.2*12,strip.Color(0, 255, 0, 0),strip.Color(100, 0, 0, 0)); + led_gauge(loopmillis,vbat,3.3*12,4.2*12,strip.Color(0, 255, 0, 0),strip.Color(100, 0, 0, 0)); }else{ //Driving float currentMean=escRear.getFiltered_curL()+escRear.getFiltered_curR()+escFront.getFiltered_curL()+escFront.getFiltered_curR();