Scope of change: This change adds support for the Arduino Nano 33 IoT ("new" Nano board). Prior to this change, the current SAMD support fails on this board, as the hard-coded RGB data pins (2-7) are split across ports A and B. This change instead uses pins 4-9 on the Nano 33 IoT, requiring that the user set their CLK to any pin on port A. The remainder of the changes note this instruction in the example code, and provide an example define for CLK on pin A6.
Limitations:
Changes to the RGB data pins for the Nano 33 IoT will need to be noted in tutorials using this library.
The prior example code also uses pin 9 for OE. To keep the RGB data wiring straightforward (contiguous pins 4-9), this pin should also be changed for the Nano 33 IoT, as noted in the examples.
The other (BLE) Nano 33 variant appears to have a different port mapping, and so the Nano 33 BLE will likely require a separate change if the prior SAMD support does not suffice.
Tests: I have tested the example projects on the Nano 33 IoT, as well as my own custom uses of the library.
… from other SAMD boards
Scope of change: This change adds support for the Arduino Nano 33 IoT ("new" Nano board). Prior to this change, the current SAMD support fails on this board, as the hard-coded RGB data pins (2-7) are split across ports A and B. This change instead uses pins 4-9 on the Nano 33 IoT, requiring that the user set their CLK to any pin on port A. The remainder of the changes note this instruction in the example code, and provide an example define for CLK on pin A6.
Limitations:
Tests: I have tested the example projects on the Nano 33 IoT, as well as my own custom uses of the library.
Thank you for your work on this great library!