Hello everyone,
I am a newbie and still trying to learn how to program and more about CircuitPython.
I have two questions. The main one is: I have a Pygamer and I am wondering how to change the color of the Neopixels? I have been trying to figure it out but not sure how to go about it. I have Mu downloaded and understand that something needs to be written in a code.py file for example, but how can I change the colors of the Neopixels (and also adjust their brightness so that they are not too bright?) My goal is to have them each be a different color, rather than all of them being red.
My second question is: if it is possible to keep them in this configuration (i.e., different colors) while there is a game on the Pygamer? Right now, I have a makecode arcade game on it and would like to be able to run the game on the Pygamer, with the Neopixels in different colors.
Thanks in advance.
Change Neopixel colors on Pygamer
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15656
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Change Neopixel colors on Pygamer
Each program gets complete control of the hardware, so you would have to change the game code to have it adjust the NeoPixels.
Have you read through https://learn.adafruit.com/adafruit-pygamer as well as https://learn.adafruit.com/circuitpytho ... n-neopixel?
Dave
Have you read through https://learn.adafruit.com/adafruit-pygamer as well as https://learn.adafruit.com/circuitpytho ... n-neopixel?
Dave
Please be positive and constructive with your questions and comments.