qmk_firmware/keyboards/handwired
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>
2020-12-30 00:28:49 +00:00
..
2x5keypad Fix compile issues from the error page (#11314) 2020-12-28 20:06:07 -08:00
3dp660
6key Add 6key to keyboards/handwired (#11226) 2020-12-30 00:03:35 +00:00
6macro
42
108key_trackpoint
412_64
aek64
aplx2
aranck
arrow_pad
atreus50
bdn9_ble
bento
bluepill
boss566y/redragon_vara
brain
cans12er
chiron
ck4x4
cmd60
co60
colorlice
curiosity
d48
dactyl
dactyl_left
dactyl_manuform [Keyboard] Fix Dactyl Manuform with Trackball info.json (#11298) 2020-12-26 01:38:31 +11:00
dactyl_promicro
dactyl_rah
daishi
datahand
ddg_56
eagleii
fc200rt_qmk
fivethirteen
floorboard
frenchdev
freoduo
fruity60
gamenum
hacked_motospeed
heisenberg
hexon38
hnah40
hnah40rgb
hnah108
ibm122m
jn68m
jopr
jot50
jotanck
jotpad16
jtallbean
juliet
k8split
k_numpad17
kbod
ks63 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
leftynumpad
lovelive9
magicforce61
magicforce68
mechboards_micropad
minorca
ms_sculpt_mobile
myskeeb
nicekey
not_so_minidox
novem
numpad20
obuwunkunubi/spaget
onekey Rewrite APA102 support (#10894) 2020-12-30 00:28:49 +00:00
ortho5x13
owlet60
p65rgb
p1800fl
pilcrow
pill60
postageboard
prime_exl
prime_exl_plus
prkl30
promethium
pterodactyl
pteron
pteron38
pteron44
qc60
reddot
retro_refit
riblee_f401
riblee_f411
rs60
selene
sick68
sick_pad
slash
sono1
space_oddity
splittest
steamvan
sticc14
stream_cheap
swiftrax add nodu keyboard (#11233) 2020-12-30 00:03:09 +00:00
symmetric70_proto
symmetry60
t111
tennie
terminus_mini
trackpoint
traveller
tritium_numpad
twadlee/tp69
unk
videowriter
wabi
woodpad
wulkan
xealous
xealousbrown
z150
zergo