adafruit / Adafruit_DotStar_Pi

DotStar module for Python on Raspberry Pi
GNU General Public License v3.0
60 stars 30 forks source link

Issues with hardware SPI mode #1

Closed EricBayer closed 9 years ago

EricBayer commented 9 years ago

The hardware SPI mode code does wacky things when brightness is not 0 (usually leaves a green pixel, but it flickers during updates.) This is because you're transmitting the raw mode IOCTL structures as data rather than the header and footer payload. Here's the fix:

https://gist.github.com/EricBayer/d1be199ec684c425c0a8

PaintYourDragon commented 9 years ago

Incorporated into latest commit. Thanks for pointing this out!