Is there a guide to what the colors/blinking DotStar codes mean?
I copied some code from the Gemma M0 for testing some Led Sequin lights on my ItsyBitsy M0.
When I renamed the file to main.py and saved it to the board, it does not behave as I expected.
I do see the DotStar led blink - Green, Red, then quickly flash Blue 4x.
I did modify the code to use pin D10 as the PWM output and pin D11 for the digital led.
?
https://learn.adafruit.com/adafruit-led ... ython-code
Itsy Bitsy M0 Express - Blinking DotStar Light Codes
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- msargent
- Posts: 15
- Joined: Thu Aug 21, 2014 3:13 am
Itsy Bitsy M0 Express - Blinking DotStar Light Codes
- Attachments
-
- main.py
- (1.25 KiB) Downloaded 7 times
- dastels
- Posts: 15667
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Itsy Bitsy M0 Express - Blinking DotStar Light Codes
Can you post what you see in the REPL when the code runs? That should give a better idea of what's happening.
If you aren't familiar with using the REPL (or even just the serial connection), see
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... n/the-repl
If you aren't familiar with using the REPL (or even just the serial connection), see
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... al-console
https://learn.adafruit.com/welcome-to-c ... n/the-repl
- msargent
- Posts: 15
- Joined: Thu Aug 21, 2014 3:13 am
Re: Itsy Bitsy M0 Express - Blinking DotStar Light Codes
Well I won't post what I saw in REPL
But I will admit to having an old, OK - VERY OLD version of CircuitPython on my board ~2.... was missing a few modules required by the code.
Updated my board and the code is working as expected now.
Thank you very much for the help to get me pointed in the right direction.
Trying to work on a giant, pulsing lights, vibrating spider egg triggered by a PIR as a Halloween prop.
My Itsy Bitsy M0 is rather old and since my Trinkets are no longer supported, thought it was time to move up.
Now just need to get the PIR working and then the pins to trigger the vibrating motors, then ...
Bit of a learning curve .)
But I will admit to having an old, OK - VERY OLD version of CircuitPython on my board ~2.... was missing a few modules required by the code.
Updated my board and the code is working as expected now.
Thank you very much for the help to get me pointed in the right direction.
Trying to work on a giant, pulsing lights, vibrating spider egg triggered by a PIR as a Halloween prop.
My Itsy Bitsy M0 is rather old and since my Trinkets are no longer supported, thought it was time to move up.
Now just need to get the PIR working and then the pins to trigger the vibrating motors, then ...
Bit of a learning curve .)
- dastels
- Posts: 15667
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Itsy Bitsy M0 Express - Blinking DotStar Light Codes
Sounds cool. Have fun!
Dave
Dave
Please be positive and constructive with your questions and comments.