[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Plum Geek Forum • Wink - idle mode
Page 1 of 1

Wink - idle mode

Posted: Sat Feb 06, 2016 8:35 pm
by Keith

Re: Wink - idle mode

Posted: Sat Feb 27, 2016 12:31 am
by Arnaud
I think this post is in the wrong forum.

This forum is for Ringo, not wink :)

Re: Wink - idle mode

Posted: Sat Feb 27, 2016 5:36 am
by wclift
Nice! This fixes the very first problem I had with Wink. When I first tried to program it, I turned it on and it went into the PreLoaded routine. It surprised me, so pushed the "stop" button, and it did, and the charge light was still on, so I thought it was on. Couldn't download a program to it. It took me hours to realize my issue!

I like your routine. My first stab at this just used delays, and I just had to hold the button down until the delay occurred. I wasn't trying to blink though, so the loop was faster. I've imported your routine into my standard code package now. I whittled down the notify actions at the button press. Just turn lights off and beep once. I also like "randomEyes()" instead of eyesRed(), so I swapped that out! Thanks for the code sharing.