diff --git a/ESP-IDF_Robot/main/rc.h b/ESP-IDF_Robot/main/rc.h index 29c470fad..731c62c1d 100644 --- a/ESP-IDF_Robot/main/rc.h +++ b/ESP-IDF_Robot/main/rc.h @@ -116,6 +116,10 @@ static void update_pwm (int rc_x, int rc_y) { //set_motor_direction(); //set_motor_speed(); // Pass PWM values to the proper DC motors depending on the joystick y-axis position + // Forward + if (y_val > y_centered) {} + // Reverse + if (y_val < y_centered) {}