Open nstansby opened 2 years ago
Not sure how that example sketch ever worked. On the Itsy M0 the onboard DotStar pins are 40 (clock) and 41 (data).
https://learn.adafruit.com/introducing-itsy-bitsy-m0/pinouts#spi-flash-and-dotstar-2989068
EDIT - oops, nevermind. Issue is with a Trinket M0. sorry, working several different board/issues at once right now.
Just tested this with a Trinket M0 and it works. So can't recreate the issue described.
Make sure all other Arduino libraries and Board Support Packages are up to date as well.
This behavior:
The same sketch will compile and upload, but after the device reboots it crashes and you get the "USB device not recognized". Resetting or disconnecting/reconnecting the Trinket makes no difference; you have to do a double-reset to get to the bootloader in order to get the device responding again.
sounds like something more lower level is not working as expected.
Arduino board: Adafruit Trinket M0
Arduino IDE version (found in Arduino -> About Arduino menu): 2.0.1 (Also saw the issue on the legacy IDE)
Please note this seems to be slightly intermittent; see notes at end.
I have 4 Trinket M0s, and the problem can be reproduced reliably on 3 of them. Of those three, two have the 2.0.0 UF2 bootloader, and I upgraded one of them to the latest 3.14.0 to see if that made a difference (it didn't).
On the fourth board, which also has the 2.0.0 UF2 bootloader, the problem is intermittent; immediately after upload it usually works, but resetting the board with the reset button or a power cycle brings it to the same "USB device not recognized".
All four boards work reliably with the 1.1.5 version of the library.
I also have a couple of ItsyBitsy M4s with onboard DotStars; I tried both of them (with the appropriate pin numbers) and didn't see the problem there.