Phonegap + bluetooth peripheral

Bluetooth LE — Assignment #2

For the second assignment, I kept working on the light ring of neopixels. With the goal of using a phonegap app interface to control the colors of the lights, instead of just sending the raw data. Using the boilerplate from class, I created three sliders to control the neopixels’ RGB values. Although the combination of values works fine, producing all types of colors, there is something wrong around the function that turns the led strip ON. This function has a wipe effect that takes sometime to run trough. If I call other functions for change the colors for example, while the wipe function is still cycling, the bluetooth loses the connection just after the wipe effect finishes.

Like what you read? Give Edson Soares a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.