CRSFJoystick icon indicating copy to clipboard operation
CRSFJoystick copied to clipboard

Use library with Arduino RP2040 Connect

Open kingfisher09 opened this issue 1 year ago • 1 comments

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

kingfisher09 avatar Jan 20 '24 13:01 kingfisher09

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 avatar Jan 23 '24 12:01 mikeneiderhauser