Phonegap + bluetooth peripheral

Bluetooth LE — Assignment #2

Edson Soares
Feb 19, 2016 · 1 min read

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.

Edson Soares

Written by

Designer, Technologist and Videomaker

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade