Rotary switch to change light color on circuit playground express

Play with it! Please tell us which board you're 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
cchevyyc
 
Posts: 2
Joined: Tue Feb 14, 2023 1:26 pm

Rotary switch to change light color on circuit playground express

Post by cchevyyc »

Hi,
I'm very very new to coding and I'm hoping to get some help with my capstone project.
I want to change the color of the circuit playground express kit by using a rotary encoder so that it slowly changes from white to blue to purple to warm white, and off. I have no idea how to code it or wire the ciruits so that it makes sense. I looked at the article on adafruit about rotary encoders but I'm still really confused. Can someone please tell me how to do this or provide me with some simple explanaitions?
Attachments
Screenshot 2023-02-14 at 12.30.36 PM.png
Screenshot 2023-02-14 at 12.30.36 PM.png (520.87 KiB) Viewed 105 times

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

Re: Rotary switch to change light color on circuit playground express

Post by dastels »

Let's start with: what programming language are you using?

Dave

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

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”