Ayke van Laethem
|
5a02fe068b
|
apa102: use 4-byte buffer to improve speed
Instead of sending the APA102 data byte by byte, it's more efficient to
send multiple bytes at once (especially when the SPI peripheral uses
DMA). This requires the apa102.Device object to be a pointer receiver to
avoid excessive heap allocations.
This commit also just happens to work around a hardware bug on the
nrf52832:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Ferrata_nRF52832_Rev2%2FERR%2FnRF52832%2FRev2%2Flatest%2Fanomaly_832_58.html&anchor=anomaly_832_58
|
2021-05-30 22:39:50 +02:00 |
|
deadprogram
|
6bc466f79b
|
pwm: update drivers with PWM to use new interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
|
2021-05-05 14:44:24 +02:00 |
|
BCG
|
d1b917b835
|
Support software SPI for APA102 (Itsy Bitsy M0 on-board "Dotstar" LED as example) (#86)
* Added implementation and example to support software-based SPI for APA102, for use with boards like Adafruit Itsy Bitsy M0 for instance.
|
2019-09-09 12:31:17 +02:00 |
|
Ron Evans
|
c09f0a8075
|
all: switch to using custom domain for all drivers
Signed-off-by: Ron Evans <ron@hybridgroup.com>
|
2019-05-29 13:33:50 +02:00 |
|
Ron Evans
|
31bc74101d
|
examples: add example for apa102 (#17)
Signed-off-by: Ron Evans <ron@hybridgroup.com>
|
2019-02-07 14:52:05 +01:00 |
|