The Particle Photon makes it easy to control the color of an RGB LED. There are a number of color picker controls you can use in Windows apps. I wanted to see how easy it was to hook a Photon RGB LED up to a Windows app color picker. It ended up being a snap by using the Particle cloud functions.
In this project I wrote a simple UWA that calls a Particle cloud function called "setRGB" on my targeted Photon whenever I change the selected value on the color picker. Then I implemented an event handler on that Photon's firmware to handle that Particle cloud function. The event handler takes the value being passed and sets the color on the RGB LED. You can see the project being demoed in the video below.
Comments