- Announcement about May 10th, 2018 update and your password.
I'm experimenting with the Adafruit BTLE UART Friend (in Spin), but thought -- for fun -- I'd try a simple project in Blockly that corresponds to one of the demo control panels in the Adafruit Bluefruit LE phone app. This demo works with the color picker panel to set the colors on a string of WS2812 LEDs.
Being a "standard" coder (Spin is my preferred tool), I still stumble around the Blockly environment a bit, but -- happily -- this worked the first time I tested it. The color picker sends a 6-byte packet. The first two bytes are "!C" (for color?) followed by red, green, blue, and a crc.
Protocol details for the color picker are here:
I've made the project public; the blocks are here:
: The mode switch on the module needs to be in UART and the CTS pin connected to ground for this to work.
It's Jon or JonnyMac -- please do not call me Jonny.