Hi there!
I am trying to use the Adafruit Gemma M0 for a project but for some reason I cant find a way to control the inbuilt dotstar LED that is on the Gemma board. Is there any way I can switch this LED off using code that I can upload to the board using the Arduino IDE? Hope someone can help me with this!
Help with the Adafruit Gemma M0
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15659
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Help with the Adafruit Gemma M0
Working with DotStars is covered here: https://learn.adafruit.com/adafruit-dotstar-leds.
It's on D3 (data) and D4 (clock). See the example her: https://github.com/adafruit/Adafruit_Do ... ndtest.ino, but set the NUMPIXELS constant to 1, DATAPIN to 3, and CLOCKPIN to 4.
Dave
It's on D3 (data) and D4 (clock). See the example her: https://github.com/adafruit/Adafruit_Do ... ndtest.ino, but set the NUMPIXELS constant to 1, DATAPIN to 3, and CLOCKPIN to 4.
Dave
- Shaherfi
- Posts: 2
- Joined: Wed Oct 20, 2021 6:20 am
Re: Help with the Adafruit Gemma M0
Thank you so much! This is a lifesaver. Tho can I ask, how does one find out that the dostar led is connected to data pin 3 and clock pin 4 ?
- dastels
- Posts: 15659
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Help with the Adafruit Gemma M0
Tutorial guides for boards have a pinout section. See https://learn.adafruit.com/adafruit-gemma-m0 for the Gemmo M0 guide, and specifically see the diagram on https://learn.adafruit.com/adafruit-gemma-m0/pinouts.
Dave
Dave
Please be positive and constructive with your questions and comments.