Project aiming to make a self-controlled solar reflector

Dependencies:   Accelerometer LCD Inverter Algorithm MotorDriver Anemometer GUI ArduinoJson Misc Definitions Pushbutton WebSocketClient temp_fan

Revision:
32:7b58f5574b7a
Parent:
30:7fce3ae08754
Child:
35:aa4395b4a1a0
diff -r 300dd6d7e5d5 -r 7b58f5574b7a main.cpp
--- a/main.cpp	Sun Apr 04 18:47:56 2021 +0000
+++ b/main.cpp	Sun Apr 04 18:50:41 2021 +0000
@@ -353,7 +353,7 @@
                     flag_flas = !flag_flas;
                     t_disp.reset();
                     t_disp.start();
-                    botL = "EXTEND" + Misc::blank(5) + Misc::itos(acc.getAngle(S_R1)) + "deg";
+                    botL = "EXTEND" + Misc::blank(1) + Misc::itos(acc.getAngle(S_R1)) + "deg";
                     lcd.LCD_display(topL,botL);
                 }
                     
@@ -368,7 +368,7 @@
                     flag_flas = !flag_flas;
                     t_disp.reset();
                     t_disp.start();
-                    botL = "RETRACT"+ Misc::blank(4) + Misc::itos(acc.getAngle(S_R1)) + "deg";
+                    botL = "RETRACT"+ Misc::blank(1) + Misc::itos(acc.getAngle(S_R1)) + "deg";
                     lcd.LCD_display(topL,botL);
                 }
                 flag_idle = 0;
@@ -420,7 +420,7 @@
                     flag_flas = !flag_flas;
                     t_disp.reset();
                     t_disp.start();
-                    botL = "EXTEND" + Misc::blank(5) + Misc::itos(acc.getAngle(S_R2)) + "deg";
+                    botL = "EXTEND" + Misc::blank(1) + Misc::itos(acc.getAngle(S_R2)) + "deg";
                     lcd.LCD_display(topL,botL);
                 }
                     
@@ -435,7 +435,7 @@
                     flag_flas = !flag_flas;
                     t_disp.reset();
                     t_disp.start();
-                    botL = "RETRACT" + Misc::blank(4) + Misc::itos(acc.getAngle(S_R2)) + "deg";
+                    botL = "RETRACT" + Misc::blank(1) + Misc::itos(acc.getAngle(S_R2)) + "deg";
                     lcd.LCD_display(topL,botL);
                 }
                 flag_idle = 0;
@@ -487,7 +487,7 @@
                     flag_flas = !flag_flas;
                     t_disp.reset();
                     t_disp.start();
-                    botL = "EXTEND" + Misc::blank(5) + Misc::itos(acc.getAngle(S_R1)) + "|" + Misc::itos(acc.getAngle(S_R2));
+                    botL = "EXTEND" + Misc::blank(1) + Misc::itos(acc.getAngle(S_R1)) + "|" + Misc::itos(acc.getAngle(S_R2));
                     lcd.LCD_display(topL,botL);
                 }
                     
@@ -502,7 +502,7 @@
                     flag_flas = !flag_flas;
                     t_disp.reset();
                     t_disp.start();
-                    botL = "RETRACT" + Misc::blank(4) + Misc::itos(acc.getAngle(S_R1)) + "|" + Misc::itos(acc.getAngle(S_R2));
+                    botL = "RETRACT" + Misc::blank(1) + Misc::itos(acc.getAngle(S_R1)) + "|" + Misc::itos(acc.getAngle(S_R2));
                     lcd.LCD_display(topL,botL);
                 }
                 flag_idle = 0;