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.
Aldehir Rojas 4f2f21dc05
Rewrite APA102 support (#10894)
* Rewrite APA102 support

The APA102 source was broken by commit 16a15c1cfc as it did not include the
quantum header. This commit addresses that, as well as other issues with
transferring bytes over the SPI interface, i.e. it was not setting the
clock pin back to low after sending a bit.

The deviation when sending the end frame is kept, but updated to the
latest from the referenced project.

Finally, these changes expose the global LED brightness parameter
of the APA102. Brightness values are configurable through
`APA102_DEFAULT_BRIGHTNESS` and `APA102_MAX_BRIGHTNESS`.

* Fix typo in led brightness extern

* Move driver out of AVR directory and add delay for ARM

* Experimental APA102 support on AVR and ARM

Co-authored-by: Alde Rojas <hello@alde.io>

* Refactor apa102_send_byte() calls to a loop

* Implement io_wait function for ARM

* Move APA102 drivers to own directory, fix copyright notice

* Add APA102 keymap to handwired/onekey

* Simplify RGBLIGHT_ENABLE/DRIVER option handling

Co-authored-by: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>
5 years ago
..
analog.c Hid joystick interface (#4226) 5 years ago
analog.h
glcdfont.c Clean up includes for glcdfont headers (#7745) 6 years ago
hd44780.c
hd44780.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 5 years ago
i2c_master.c Fix capitalisation of "GitHub" (#9184) 6 years ago
i2c_master.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 5 years ago
i2c_slave.c Fix capitalisation of "GitHub" (#9184) 6 years ago
i2c_slave.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 5 years ago
serial.c 2020 November 28 Breaking Changes Update (#11053) 5 years ago
serial.h Update split serial code to use driver pattern (#7990) 6 years ago
spi_master.c Fix error handling in SPI master. (#11122) 5 years ago
spi_master.h adds support for the atmega328 (#9043) 6 years ago
ssd1306.c Fix ssd1306 compilation on avr-gcc 10 (#9267) 5 years ago
ssd1306.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 5 years ago
ws2812.c Fix incorrect delay when setting WS2812 (and similar) leds (#9302) 6 years ago
ws2812_i2c.c