Close

Getting my blinky on

A project log for Stylish!

A most stylish wearable music synthesizer! A real stylus based monophonic music synthesizer built into a giant trucker belt buckle!

t-b-trzepaczT. B. Trzepacz 10/01/2018 at 13:340 Comments

Having finally settled again on the Arduino IDE as my dev environment, I needed to get the libraries up and running. I was a little afraid that, even with the extra speed of the STM32, the bit banging to support WS2812B leds would eat processor and cause trouble.

So I compiled the standard Adafruit NeoPixel demos and they didn't work at all! Oh noes!

I googled around and found a modified version of that library called Adafruit Neopixel ANDnXOR that seemed to work. But when I tried to make any changes to the code, the timing got messed up and the LEDs got really flickery.

So I googled around even more and found that there was a library by the guys who made the STM32duino environment that I was using. Surely that would work! How do I get it... oh, it's ALREADY INSTALLED BY DEFAULT! The demo is right there, called "WS2812B". And it is pretty much exactly the same as the other two Adafruit derived libraries except that it WORKS!

Like Dorothy in the Wizard of Oz, I had the ability to achieve my desire the entire time!

Discussions