mikeneiderhauser / CRSFJoystick

Arduino code that runs on a Pi Pico (2040) to emulate a USB HID Joystick
GNU General Public License v3.0
155 stars 33 forks source link

Use library with Arduino RP2040 Connect #24

Closed kingfisher09 closed 3 weeks ago

kingfisher09 commented 10 months ago

Hi,

I'm building a robot using an Arduino RP2040 Connect. I want to control the robot using ELRS. I've uploaded the basic_crsf example to the board, it compiles just fine but I'm not seeing a signal. I'm not sure whether I'm using the right RX and TX pins on the board.

I see in the code you can select Serial1 or Serial2 but I'm not sure what they refer to. The Arduino pinout only lists one RX and TX so I tried that first but I also see that on the Pi Pico pinout there are other pins for other serial ports so I tried connecting to the equivalents of those pins.

Is there something else that I'm missing?

Thanks

mikeneiderhauser commented 10 months ago

Which board ID are you using? Looking at the pinout, try board ID 4 (you may need to modify some things in board defs to disable the led functionality), and wire it up to TX and RX pins on the Arduino Nano Connect RP2040

mikeneiderhauser commented 3 weeks ago

Closing due to inactivity