ZZ-Cat / CRSFforArduino

An Arduino Library for communicating with ExpressLRS and TBS Crossfire receivers.
GNU Affero General Public License v3.0
145 stars 24 forks source link

Strange behaviour #12

Closed wizz92 closed 1 year ago

wizz92 commented 1 year ago

I am using Arduino Uno, transmitter radiomaster tx 12 and receiver Radiomaster RP3. 95% times the library does not register changes in transmitter channels. What can be an issue and how can I debug it?

ZZ-Cat commented 1 year ago

I am using Arduino Uno, transmitter radiomaster tx 12 and receiver Radiomaster RP3. 95% times the library does not register changes in transmitter channels. What can be an issue and how can I debug it?

The first thing I see here is your Arduino UNO is incompatible. I clearly state this in the readme, on the front page.

Screenshot 2023-03-04 122022

I also have a list of development boards that CRSF for Arduino is compatible with. Again, this is in the readme, on the front page.

Screenshot 2023-03-04 123238

If you have any one of the compatible platforms listed above (preferably a Metro M4 Express), flash your code onto that, & see if the issue persists. Also, if you wouldn't mind, can you post your code here, so I can see what's going on? TIA.

ZZ-Cat commented 1 year ago

After two weeks of no response from the OP, I am closing this issue & moving on.

To be clear: I will not be adding support for development boards such as the Arduino UNO & any other development board featuring any ATmega/AVR microcontrollers.

CRSF for Arduino, at bare minimum, is compatible with SAMD21 microcontrollers (featured in development boards such as the Arduino Zero & Adafruit Metro M0 Express).

To keep up with the latest developments, I highly recommend using a development board that features a SAMD51 microcontroller (such as the Adafruit Metro M4 Express). Because this is the same as what I am using to develop CRSF for Arduino at the current time.

Any further issues that are submitted regarding CRSF for Arduino not working (or displaying "strange behaviour") on development boards such as the Arduino UNO/Nano, Arduino Micro/Leonardo, or Arduino Mega 2560 or any other board that I have listed on the main README as incompatible, these issues will be closed immediately. CRSF for Arduino is not compatible with those boards.