mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-30 23:21:05 +00:00
PWM rescaling
This commit is contained in:
@@ -131,7 +131,7 @@ static void update_pwm (int rc_x, int rc_y) {
|
||||
m.motor4_rpm_pcm = 0;
|
||||
}*/
|
||||
// FORWARD AND REVERSE
|
||||
if (x > 7000) {
|
||||
if ((x > 670) && (y > 1000 && y < 1100)) {
|
||||
//if ((x > 0) && (y > 0 && y < 500)) {
|
||||
//ESP_LOGW("ESP-NOW", "REVERSE");
|
||||
// Both sides rotate in forward direction.
|
||||
|
Reference in New Issue
Block a user