Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document that pico uses different pins #38

Open
2 tasks
joshua-8 opened this issue Jun 13, 2024 · 1 comment
Open
2 tasks

document that pico uses different pins #38

joshua-8 opened this issue Jun 13, 2024 · 1 comment

Comments

@joshua-8
Copy link
Member

joshua-8 commented Jun 13, 2024

  • Update pins to match the design/instructions for the first car to use a pico
  • update documentation for the pins the pico uses
@joshua-8
Copy link
Member Author

joshua-8 commented Jun 28, 2024

here's what it's set to currently v1.2.0

#if defined(ARDUINO_ARCH_MBED_RP2040)|| defined(ARDUINO_ARCH_RP2040)
///// joystick reader pins /////
byte JOY_X_PIN = A2;  // Analog input pin that the left-right potentiometer is attached to
byte JOY_Y_PIN = A0;  // Analog input pin that the forwards-backwards potentiometer is attached to

///// drive controller pins /////
byte LEFT_MOTOR_CONTROLLER_PIN = 3;
byte RIGHT_MOTOR_CONTROLLER_PIN = 4;

byte SPEED_KNOB_PIN = A1;

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

joshua-8 added a commit that referenced this issue Jun 28, 2024
@joshua-8 joshua-8 changed the title pico has 3 analog pins so it either needs a special case or documentation needs to be updated for everything document that pico uses different pins Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant