Make motor testing signal 0.2 instead of full power

Testing with full power is too dangerous and inconvenient.
This commit is contained in:
Oleg Kalachev
2026-05-08 00:53:19 +03:00
parent 87480476c2
commit 06e2047097
+1 -1
View File
@@ -54,7 +54,7 @@ bool motorsActive() {
void testMotor(int n) { void testMotor(int n) {
print("Testing motor %d\n", n); print("Testing motor %d\n", n);
motors[n] = 1; motors[n] = 0.2;
delay(50); // ESP32 may need to wait until the end of the current cycle to change duty https://github.com/espressif/arduino-esp32/issues/5306 delay(50); // ESP32 may need to wait until the end of the current cycle to change duty https://github.com/espressif/arduino-esp32/issues/5306
sendMotors(); sendMotors();
pause(3); pause(3);