AP102 LEDs
Posted: Fri Nov 08, 2019 9:51 pm
Just noticed a small bug in the Arduino (I've tested) implementation of AP102C component.
A simple single strand of LEDs connected to SPI (hardware) works AOK - if you remember to set B2 to output.
- But I noticed that one LED was not lit.
Rather than counting to 60 (ran out of fingers) - I reset the strip length to 10 - and only 9 LEDs are lit at the start of the strand.
Note that all the LEDs are functional - (setting the strand length to 61 lights all the LEDs although there are only 60)
There isn't a 'hidden' LED at the start of the strand.
The C code looks OK - for SetAllLEDColour and Refresh. (while FCL_INDEX < 10 - gives 0..9)
The Adafruit strandtest works correctly....
Martin
A simple single strand of LEDs connected to SPI (hardware) works AOK - if you remember to set B2 to output.
- But I noticed that one LED was not lit.
Rather than counting to 60 (ran out of fingers) - I reset the strip length to 10 - and only 9 LEDs are lit at the start of the strand.
Note that all the LEDs are functional - (setting the strand length to 61 lights all the LEDs although there are only 60)
There isn't a 'hidden' LED at the start of the strand.
The C code looks OK - for SetAllLEDColour and Refresh. (while FCL_INDEX < 10 - gives 0..9)
The Adafruit strandtest works correctly....
Martin