Itsy Bitsy M0 Express - Blinking DotStar Light Codes

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
msargent
 
Posts: 15
Joined: Thu Aug 21, 2014 3:13 am

Itsy Bitsy M0 Express - Blinking DotStar Light Codes

Post by msargent »

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
Attachments
main.py
(1.25 KiB) Downloaded 7 times

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Itsy Bitsy M0 Express - Blinking DotStar Light Codes

Post by dastels »

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

User avatar
msargent
 
Posts: 15
Joined: Thu Aug 21, 2014 3:13 am

Re: Itsy Bitsy M0 Express - Blinking DotStar Light Codes

Post by msargent »

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 .)

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Itsy Bitsy M0 Express - Blinking DotStar Light Codes

Post by dastels »

Sounds cool. Have fun!

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”