I'm using Maple, not stm32 core. Roger's write up is interesting. I hadn't realised SPI could be used like that.
I might just use his library for my project, I tried using it, it works more or less. I did have an issue of it randomly pulsing colours on refresh before settling. And the goal of this ...
Search found 3 matches
- Thu Jan 23, 2020 12:05 am
- Forum: General discussion
- Topic: Writing a driver for a WS8212B LED Strip
- Replies: 4
- Views: 6234
- Wed Jan 22, 2020 12:50 am
- Forum: General discussion
- Topic: Writing a driver for a WS8212B LED Strip
- Replies: 4
- Views: 6234
Re: Writing a driver for a WS8212B LED Strip
Additional information. I'm using platformio.
For wider context, an example program using my library is
#include <Arduino.h>
#include <ws8212.h>
LEDStripDefinition<8> leds;
void setup()
{
initialise_ws8212_lib(PA7);
for( int i =0; i<leds.GetNumberOfLEDs(); i++ )
{
leds.GetLEDs()[i] = Colour ...
For wider context, an example program using my library is
#include <Arduino.h>
#include <ws8212.h>
LEDStripDefinition<8> leds;
void setup()
{
initialise_ws8212_lib(PA7);
for( int i =0; i<leds.GetNumberOfLEDs(); i++ )
{
leds.GetLEDs()[i] = Colour ...
- Wed Jan 22, 2020 12:46 am
- Forum: General discussion
- Topic: Writing a driver for a WS8212B LED Strip
- Replies: 4
- Views: 6234
Writing a driver for a WS8212B LED Strip
Hi, I'm new to STM32 based dev boards.
I have a project where I need to drive an LED light strip. I don't need any fancy animations or anything. Initially I tried my go to, FastLED, but it blew up the executable size beyond what I have available. Plus I don't think it actually supports the hardware ...
I have a project where I need to drive an LED light strip. I don't need any fancy animations or anything. Initially I tried my go to, FastLED, but it blew up the executable size beyond what I have available. Plus I don't think it actually supports the hardware ...