mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-27 07:23:12 +00:00
RC Calibration
This commit is contained in:
@@ -92,7 +92,7 @@ static void update_pwm (int rc_x, int rc_y) {
|
|||||||
// Turn Left
|
// Turn Left
|
||||||
if (x == 8190 && y == -8190) {
|
if (x == 8190 && y == -8190) {
|
||||||
m.motor1_rpm_pcm = 0;
|
m.motor1_rpm_pcm = 0;
|
||||||
m.motor2_rpm_pcm = -8190;
|
m.motor2_rpm_pcm = 8190;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (x == 8190 && y == 8190) {
|
else if (x == 8190 && y == 8190) {
|
||||||
|
Reference in New Issue
Block a user