Closed XFactHD closed 5 years ago
oh yeah this is ancient, and should be redone to use SPI transactions. would you be interested in replacing the current code to use transactions and submitting a PR?
Sure, I'll take a look and submit a PR when I get it working.
sweet, thanks!
I have opened a PR with the requested changes.
resolved!
Arduino board: Adafruit (ItsyBitsy/Feather/Metro/Trellis) M4
Arduino IDE version: Arduino IDE 1.8.5
Steps to reproduce the problem:
Compiling these three lines for any SAMD51 based board from Adafruit causes a compilation error in the begin() function on line 97 where the clock divider is set. Looking at the error
leads me to believe that the SAMD51 boards are completely missing the SPI clock divider defines.
If you would prefer to handle this issue over on your Arduino_SAMD repo, I will move it there.