Controlling neopixels ligths

Bluetooth LE — Assignment #1

In the first assignment for the bluetooth class I worked on controlling a light ring with neopixels attached that I previously used in my P.Comp final. I started by controling a LED, and things worked fine. For the neopixels, however, I wasn’t able to control the entire strip length. I’m still investigating the reasons, but the bluetooth connect is interrupted before all the neopixels change their status. In the code and I’m specifying that the neopixels should be RED if I write any value, and blue if no value is written.

Source code:

Show your support

Clapping shows how much you appreciated Edson Soares’s story.