@@ -114,7 +114,7 @@ void setupMotors() { }
114114#define batMonitorPin 36
115115
116116#ifndef OVERRIDE_DEFAULT_VOLTAGE_COMP
117- const int dacUnitsPerVolt = 350 ; // increasing this number decreases the calculated voltage
117+ const int dacUnitsPerVolt = 310 ; // increasing this number decreases the calculated voltage
118118JVoltageCompMeasure < 10 > voltageComp = JVoltageCompMeasure < 10 > (batMonitorPin , dacUnitsPerVolt );
119119#endif
120120
@@ -174,7 +174,7 @@ CRGB RSLcolor = CRGB(250, 45, 0); // orange
174174
175175// chip address, motor address
176176#ifndef MOTOR_DRIVER_BAUD
177- #define MOTOR_DRIVER_BAUD 90000
177+ #define MOTOR_DRIVER_BAUD 100000
178178#endif
179179
180180#define portAB uartPin, 1, MOTOR_DRIVER_BAUD
@@ -221,7 +221,7 @@ void setupMotors()
221221}
222222
223223#ifndef OVERRIDE_DEFAULT_VOLTAGE_COMP
224- const int dacUnitsPerVolt = 350 ; // increasing this number decreases the calculated voltage
224+ const int dacUnitsPerVolt = 310 ; // increasing this number decreases the calculated voltage
225225JVoltageCompMeasure < 10 > voltageComp = JVoltageCompMeasure < 10 > (batMonitorPin , dacUnitsPerVolt );
226226#endif
227227
@@ -267,7 +267,7 @@ CRGB RSLcolor = CRGB(250, 45, 0); // orange
267267
268268// chip address, motor address
269269#ifndef MOTOR_DRIVER_BAUD
270- #define MOTOR_DRIVER_BAUD 110000
270+ #define MOTOR_DRIVER_BAUD 100000
271271#endif
272272
273273#define portAB uartPin, 0, MOTOR_DRIVER_BAUD
@@ -295,7 +295,7 @@ void setupMotors()
295295 digitalWrite (motorsEnablePin , HIGH );
296296}
297297#ifndef OVERRIDE_DEFAULT_VOLTAGE_COMP
298- const int dacUnitsPerVolt = 350 ; // increasing this number decreases the calculated voltage
298+ const int dacUnitsPerVolt = 310 ; // increasing this number decreases the calculated voltage
299299JVoltageCompMeasure < 10 > voltageComp = JVoltageCompMeasure < 10 > (batMonitorPin , dacUnitsPerVolt );
300300#endif
301301
0 commit comments