You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devices/nrzled
Florian Klink 05bab7ef1f
nrzled.NewSPI: also add padding in the front (#48)
Some SPI devices take a while to set up for transfer, and while doing
so, show the first bit they're about to send.

This causes the first LED to always interpret the first symbol as a
logical 1. Zapping out the whole strip will leave the first LED green,
and the first pixel will always be slightly green-ish.

Prevent this, by applying the same 3 bit padding we have at the end to
the front.

Signed-off-by: Florian Klink <flokli@flokli.de>
4 years ago
..
doc.go Migrate layout to the destination layout 5 years ago
nrz.go Migrate layout to the destination layout 5 years ago
nrz_test.go Migrate layout to the destination layout 5 years ago
nrzled.go nrzled.NewSPI: also add padding in the front (#48) 4 years ago
nrzled_spi_test.go nrzled.NewSPI: also add padding in the front (#48) 4 years ago
nrzled_stream_test.go Migrate to devices/v3 5 years ago