]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_lamp/commit
lamp: support sequences of drawings
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 21 Nov 2016 21:40:47 +0000 (16:40 -0500)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 21 Nov 2016 21:40:47 +0000 (16:40 -0500)
commitc2c176ff47d624152593364f8092c8a37b3b3fd9
tree893bdb0c1c9caee2c1bd79d55c5692c576b8c75c
parent8b4a5d8d3b7278143fc50b0ec83b9cc016f81ef5
lamp: support sequences of drawings

This changes the protocol to necessitate a ';' at the end of each
animation.  The directives are "[delay] [drawing] [r] [g] [b] ;", with
delay decimal milliseconds to wait after the previous command, r/g/b hex
0-FF and drawing as before.  e.g. '0 fill 0 3 0 ; 5000 heart 7 0 7 ;'.
init2.lua
lamp-remote.lua