Support for SAMD51 - Adafruit ItsyBitsy M4 #1269
DJ-DotSoft
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
An update already. It looks like the timers are only used for receiving (which I am not doing), so the changes above mean I can build the code, but it won't receive IR codes. I think line 1620 can be changed to:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The ReadMe specifically says SAMD51 is not supported, but I noticed there is reference to SAMD51 support in the changelog for v4.1.0 and v4.1.1. The changelog for v4.1.1 says "- SAMD51 use timer3 if timer5 not available.", so I thought I would try with an Adafruit ItsyBitsy M4 (which doesn't have timer5). The code did not compile, but I made the following adjustments to IRTimer.hpp:
line 1584:
line 1620
This compiles and works for my application (sending, not receiving).
So just thought I would post this and maybe someone who understands SAMD timers can verify if this is a good fix or not. Note that I can't see any changes in the code which would relate to the changelog comment, which may well indicate I haven't understood something!
Beta Was this translation helpful? Give feedback.
All reactions