adafruit / adafruit/RGB-matrix-Panel
Incompatibility with SoftwareSerial library
- Dominant language
- C++
- Stars
- 328
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
Enable Timer1 interrupt causes an instability of the SoftwareSerial library :
TIMSK1 |= _BV(TOIE1); // Enable Timer1 interrupt (in "void RGBmatrixPanel::begin(void)" function)
So I can't use a bluetooth module with the RGB matrix : Timer 1 causes the appearance of random characters at the bluetooth reception...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the RGBmatrixPanel::begin(void) function, where TIMSK1 |= _BV(TOIE1) enables the Timer1 interrupt, and review how that interacts with Arduino's SoftwareSerial library. Reproduce the Bluetooth reception problem with both libraries, then determine and verify a compatible Timer1 and SoftwareSerial configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100