gobabygocarswithjoysticks / car-code

New code for go baby go cars!
MIT License
4 stars 1 forks source link

document that esp32 uses different pins #44

Open joshua-8 opened 1 month ago

joshua-8 commented 1 month ago
///// joystick reader pins /////
byte JOY_X_PIN = 39;  // Analog input pin that the left-right potentiometer is attached to
byte JOY_Y_PIN = 35;  // Analog input pin that the forwards-backwards potentiometer is attached to

///// drive controller pins /////
byte LEFT_MOTOR_CONTROLLER_PIN = 18;
byte RIGHT_MOTOR_CONTROLLER_PIN = 21;

byte SPEED_KNOB_PIN = 33;

byte BUTTON_MODE_PIN = 23; // can turn button control mode on and off