]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_lamp/log
acmetensortoys-esp-lua_lamp
8 years agoremoves a useless loop that made the dimming code much slower. This also moves the...
Rachael [Sat, 8 Jul 2017 22:44:51 +0000 (15:44 -0700)]
removes a useless loop that made the dimming code much slower.  This also moves the dimming code form the left most button on the front to the back most button on the left side so as to limit accidental triggering.

8 years agoMerge branch 'master' of https://github.com/AcmeTensorToys/esp-lua
Rachael [Sat, 8 Jul 2017 22:25:37 +0000 (15:25 -0700)]
Merge branch 'master' of https://github.com/AcmeTensorToys/esp-lua

9 years agolamp/linux-draw: tmr unregister also stops
Nathaniel Wesley Filardo [Sat, 3 Jun 2017 22:11:21 +0000 (18:11 -0400)]
lamp/linux-draw: tmr unregister also stops

9 years agoremoved some dead code from a failed fix attempt
Rachael [Sun, 14 May 2017 01:12:39 +0000 (18:12 -0700)]
removed some dead code from a failed fix attempt

9 years agofixed a bug wherein it would switch to the last local image before dimming. Now...
Rachael [Sun, 14 May 2017 01:08:38 +0000 (18:08 -0700)]
fixed a bug wherein it would switch to the last local image before dimming.  Now it will instead dim whatever is on the screen, local or remote.

9 years agoadds the un-dimming feature to the dimming feature
Rachael [Sun, 14 May 2017 00:22:56 +0000 (17:22 -0700)]
adds the un-dimming feature to the dimming feature

9 years agoexamples/lamp: fix linux-draw-xpm
Nathaniel Wesley Filardo [Thu, 11 May 2017 10:24:42 +0000 (06:24 -0400)]
examples/lamp: fix linux-draw-xpm

9 years agoexamples/lamp: implement more of tmr better
Nathaniel Wesley Filardo [Thu, 4 May 2017 02:27:35 +0000 (22:27 -0400)]
examples/lamp: implement more of tmr better

draw-flower uses more of the API

9 years agoadds stubs for the new buttons.
Rachael [Mon, 1 May 2017 16:43:49 +0000 (09:43 -0700)]
adds stubs for the new buttons.

9 years agoWes's new and improved dimming function.
Rachael [Mon, 1 May 2017 16:41:35 +0000 (09:41 -0700)]
Wes's new and improved dimming function.

9 years agokinda works, sorta
Rachael [Mon, 1 May 2017 05:19:44 +0000 (22:19 -0700)]
kinda works, sorta

9 years agosimpler dimming function that merely cuts values in half
Rachael [Sun, 30 Apr 2017 22:45:24 +0000 (15:45 -0700)]
simpler dimming function that merely cuts values in half

9 years agotries to implement rgb --> hsl -> rgb, but fails compiling for an index out of range...
Rachael [Sun, 30 Apr 2017 21:32:54 +0000 (14:32 -0700)]
tries to implement rgb --> hsl -> rgb, but fails compiling for an index out of range exception

9 years agoexamples/lamp: new drawing: flower bloom animation
Nathaniel Wesley Filardo [Thu, 27 Apr 2017 01:52:17 +0000 (21:52 -0400)]
examples/lamp: new drawing: flower bloom animation

9 years agoexamples/lamp: fix fallback drawing for linux xpm
Nathaniel Wesley Filardo [Mon, 24 Apr 2017 17:54:56 +0000 (13:54 -0400)]
examples/lamp: fix fallback drawing for linux xpm

9 years agoexamples/lamp/lamp-remote: don't call nil on malfored message
Nathaniel Wesley Filardo [Mon, 30 Jan 2017 20:09:40 +0000 (15:09 -0500)]
examples/lamp/lamp-remote: don't call nil on malfored message

9 years agozshify host push tools
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 06:40:47 +0000 (01:40 -0500)]
zshify host push tools

9 years agolamp/linux-draw: properly emulate timer callbacks
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 06:42:11 +0000 (01:42 -0500)]
lamp/linux-draw: properly emulate timer callbacks

9 years agoremoves the extra pixel from the first frame of nom
Rachael [Sun, 18 Dec 2016 07:00:19 +0000 (23:00 -0800)]
removes the extra pixel from the first frame of nom

9 years agoAdds simple nom-ing animation, now with bugfixes
Rachael [Sun, 18 Dec 2016 06:36:19 +0000 (22:36 -0800)]
Adds simple nom-ing animation, now with bugfixes

9 years agoMerge branch 'master' of https://github.com/AcmeTensorToys/esp-lua
Rachael [Sun, 18 Dec 2016 06:35:28 +0000 (22:35 -0800)]
Merge branch 'master' of https://github.com/AcmeTensorToys/esp-lua

9 years agolamp: snake2: don't pass string to :fill
Nathaniel Wesley Filardo [Sun, 18 Dec 2016 06:34:54 +0000 (01:34 -0500)]
lamp: snake2: don't pass string to :fill

Whoopsies!

9 years agoAdds simple nom-ing animation, now with bugfixes
Rachael [Sun, 18 Dec 2016 06:33:48 +0000 (22:33 -0800)]
Adds simple nom-ing animation, now with bugfixes

9 years agoAdds simple nom-ing animation
Rachael [Sun, 18 Dec 2016 05:43:39 +0000 (21:43 -0800)]
Adds simple nom-ing animation

9 years agolamp: linux wrappers for xpm and morse renderers
Nathaniel Wesley Filardo [Fri, 16 Dec 2016 07:13:27 +0000 (02:13 -0500)]
lamp: linux wrappers for xpm and morse renderers

This uses lua-cqueues to provide an implementation of the lamp renderer
as a kind of shell pipeline tool.  I am sure things could be improved,
but this is a good start and lets me carry a virtual lamp on my desktop
as well as a slightly different piece of kit on my physical desk.

9 years agolamp: revise remote protocol
Nathaniel Wesley Filardo [Fri, 16 Dec 2016 07:12:03 +0000 (02:12 -0500)]
lamp: revise remote protocol

A new, improved lamp-remote.lua.  The protocol herein is backwards
compatible with everything ever automatically generated by earlier
versions, but is not in general compatible with the old scheme.  I
think I like this one better.

9 years agolamp: lua5.0-isms in draw-{candle,staryeyes}
Nathaniel Wesley Filardo [Wed, 7 Dec 2016 07:52:24 +0000 (02:52 -0500)]
lamp: lua5.0-isms in draw-{candle,staryeyes}

In particular, the use of the function-local "arg" is deprecated and
gone entirely in lua5.2. Switch to "ipairs{...}" rather than
"ipairs(arg)" which should work with both nodemcu and host programs.

9 years agolamp: tidy snake2 drawing code
Nathaniel Wesley Filardo [Wed, 7 Dec 2016 07:51:55 +0000 (02:51 -0500)]
lamp: tidy snake2 drawing code

9 years agolamp: touch should not reset its state every load
Nathaniel Wesley Filardo [Sat, 3 Dec 2016 22:07:45 +0000 (17:07 -0500)]
lamp: touch should not reset its state every load

9 years agolamp: draw-happy: blank the framebuffer first
Nathaniel Wesley Filardo [Wed, 23 Nov 2016 00:47:32 +0000 (19:47 -0500)]
lamp: draw-happy: blank the framebuffer first

9 years agoMerge remote-tracking branch 'github/master'
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 21:50:05 +0000 (16:50 -0500)]
Merge remote-tracking branch 'github/master'

9 years agolamp: tweak draw-candle
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 21:47:58 +0000 (16:47 -0500)]
lamp: tweak draw-candle

9 years agolamp: draw-happy
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 21:47:49 +0000 (16:47 -0500)]
lamp: draw-happy

9 years agolamp: allow going back in drawing selection, too
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 21:43:59 +0000 (16:43 -0500)]
lamp: allow going back in drawing selection, too

9 years agolamp: support sequences of drawings
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 21:40:47 +0000 (16:40 -0500)]
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 ;'.

9 years agolamp: GPIO in README, tidy drawings, add 'candle'
Nathaniel Wesley Filardo [Tue, 8 Nov 2016 14:57:16 +0000 (09:57 -0500)]
lamp: GPIO in README, tidy drawings, add 'candle'

9 years agoMerge branch 'master' of git+ssh://arda.dyndns.tv:2222/Users/Shared/Acme Tensor/esp-lua
Nathaniel Wesley Filardo [Thu, 17 Nov 2016 07:04:51 +0000 (02:04 -0500)]
Merge branch 'master' of git+ssh://arda.dyndns.tv:2222/Users/Shared/Acme Tensor/esp-lua

9 years agoAdds stary eyes animation. Not entirely happy with it
Rachael [Thu, 17 Nov 2016 06:15:34 +0000 (22:15 -0800)]
Adds stary eyes animation.  Not entirely happy with it

9 years agolamp: GPIO in README, tidy drawings, add 'candle'
Nathaniel Wesley Filardo [Tue, 8 Nov 2016 14:57:16 +0000 (09:57 -0500)]
lamp: GPIO in README, tidy drawings, add 'candle'

9 years agoAdds flapping butterfly animation
Rachael [Tue, 8 Nov 2016 06:24:41 +0000 (22:24 -0800)]
Adds flapping butterfly animation

9 years agochanges the shifty2 filename to one that is more compatible with how the system looks...
Rachael [Sun, 30 Oct 2016 19:10:28 +0000 (12:10 -0700)]
changes the shifty2 filename to one that is more compatible with how the system looks for patterns

9 years agomaybe improved slithering algorithm if the snake is supposed to be going forward...
Rachael [Sat, 22 Oct 2016 03:14:44 +0000 (20:14 -0700)]
maybe improved slithering algorithm if the snake is supposed to be going forward the entire time.

9 years agolamp: snake2, a little more animated :)
Nathaniel Wesley Filardo [Sat, 22 Oct 2016 02:40:10 +0000 (22:40 -0400)]
lamp: snake2, a little more animated :)

9 years agoexamples/lamp: add draw: animated heartbeat
Nathaniel Wesley Filardo [Sun, 16 Oct 2016 20:33:47 +0000 (16:33 -0400)]
examples/lamp: add draw: animated heartbeat

9 years agodevilish slightly better
Rachael [Sun, 16 Oct 2016 16:41:54 +0000 (09:41 -0700)]
devilish slightly better

9 years agoresolving merge conflicts. I didn't intentionally change anything in the README file...
Rachael [Sun, 16 Oct 2016 16:37:31 +0000 (09:37 -0700)]
resolving merge conflicts. I didn't intentionally change anything in the README file...

9 years agoinitial devilish commit
Rachael [Sun, 16 Oct 2016 16:27:17 +0000 (09:27 -0700)]
initial devilish commit

9 years agolamp/example: tweak touch UI, improve dox
Nathaniel Wesley Filardo [Sun, 16 Oct 2016 16:21:10 +0000 (12:21 -0400)]
lamp/example: tweak touch UI, improve dox

9 years agoexamples/lamp: stop using a timer for touch
Nathaniel Wesley Filardo [Sun, 16 Oct 2016 15:13:19 +0000 (11:13 -0400)]
examples/lamp: stop using a timer for touch

9 years agoexamples/lamp: refactor drawing, docs
Nathaniel Wesley Filardo [Sun, 16 Oct 2016 00:05:25 +0000 (20:05 -0400)]
examples/lamp: refactor drawing, docs

Break drawings out to their own files, chase changes around the tree.

While here, dramatically improve documentation of the project.  That was
a low bar to pass. ;)

This is an ammeded commit with bug fixes thanks to the lovely and
talented Purple.

9 years agoupdates to one file per pattern and fixes a couple bugs
Rachael [Sun, 16 Oct 2016 06:49:32 +0000 (23:49 -0700)]
updates to one file per pattern and fixes a couple bugs

9 years agomaking the new designs have their own files
Rachael [Sun, 16 Oct 2016 02:09:45 +0000 (19:09 -0700)]
making the new designs have their own files

9 years agomerging in drawing changes
Rachael [Sun, 16 Oct 2016 02:03:07 +0000 (19:03 -0700)]
merging in drawing changes

9 years agoexamples/lamp: refactor drawing, docs
Nathaniel Wesley Filardo [Sun, 16 Oct 2016 00:05:25 +0000 (20:05 -0400)]
examples/lamp: refactor drawing, docs

Break drawings out to their own files, chase changes around the tree.

While here, dramatically improve documentation of the project.  That was
a low bar to pass. ;)

9 years agoplays with shifty eyes v2 and kiss
Rachael [Sat, 15 Oct 2016 20:59:02 +0000 (13:59 -0700)]
plays with shifty eyes v2 and kiss

9 years agoshifty eyes v2
Rachael [Sat, 15 Oct 2016 20:39:31 +0000 (13:39 -0700)]
shifty eyes v2

9 years agoshifty eyes
Rachael [Sat, 15 Oct 2016 19:41:01 +0000 (12:41 -0700)]
shifty eyes

9 years agofixes a couple typos that crashed the device. kiss has too big of a nose
Rachael [Sat, 15 Oct 2016 19:18:17 +0000 (12:18 -0700)]
fixes a couple typos that crashed the device. kiss has too big of a nose

9 years agoattempt at kiss, locks up. OOs
Rachael [Sat, 15 Oct 2016 18:15:13 +0000 (11:15 -0700)]
attempt at kiss, locks up.  OOs

9 years agoexamples/lamp : "animated" "snake" graphic
Nathaniel Wesley Filardo [Sat, 15 Oct 2016 04:05:21 +0000 (00:05 -0400)]
examples/lamp : "animated" "snake" graphic

9 years agoAdd examples/lamp/README.rst
Nathaniel Wesley Filardo [Fri, 14 Oct 2016 01:08:21 +0000 (21:08 -0400)]
Add examples/lamp/README.rst

9 years agomqtt_revert should not be local
Nathaniel Wesley Filardo [Thu, 13 Oct 2016 23:38:30 +0000 (19:38 -0400)]
mqtt_revert should not be local

No functional change as the -remote module already ends up making this
global.  Still, for documentation...

9 years agoExperimental timer/animation support in lamp
Nathaniel Wesley Filardo [Tue, 11 Oct 2016 22:16:37 +0000 (18:16 -0400)]
Experimental timer/animation support in lamp

9 years agohost/pushcommon.sh for push scripts
Nathaniel Wesley Filardo [Tue, 11 Oct 2016 22:09:45 +0000 (18:09 -0400)]
host/pushcommon.sh for push scripts

9 years agoInitial checkin of framework and lamp example
Nathaniel Wesley Filardo [Fri, 7 Oct 2016 03:27:43 +0000 (23:27 -0400)]
Initial checkin of framework and lamp example