]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_lamp/commit
ws2812 vs gpio, take 2
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Thu, 4 Jun 2020 10:31:55 +0000 (11:31 +0100)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Thu, 4 Jun 2020 10:40:05 +0000 (11:40 +0100)
commitd92a6ca24eb271f904e3fad95d7cea50380ead03
treee926b5f4b83edc1e37fdd4f1b6fd929ab48b8af7
parentb3c545be719311cf8a1d5ce035efa8c13cf3c4b5
ws2812 vs gpio, take 2

Just use tmr.delay().  It's gross, but it's 350 microseconds.  We should
be OK.

init-early: here, too

blackouts: rather than have lamp-touch know what to do, push the logic
over to init2 and use the same "later" mechanism to disconnect the UART
from the LED array.
init-early.lua
init2.lua
lamp-touch.lua