Tinkerspy

Results 33 comments of Tinkerspy

It's got debounce, just the fancier stuff like longpress, repeat & autopress are missing.

No, a pinball machine. Not very wearable ;-)

OK, that sounds like a plan. I made a branch with the new pinMode() & active() methods. Note that they must be called *after* begin(). Would you mind checking it...

I would prefer this functionality to be in a separate library and not in the standard Atm_led machine perhaps under the name Atm_led_pattern. We could put it under contributed in...

I think I would just create a web server that spits out json and reload that with javascript/ajax. It's not the most efficient way, but for a low traffic device...

Why don't you use a standard atm_timer_millis object inside your state machine and then change state when the timer expires. Then you stay inside the machine and have access to...

Perhaps you could use a combination of an Atm_bit object (to control the relay) with an Atm_digital object to read the state. From the Atm_digital's onChange() handler you can set...

Hi Euphi, Sorry, I've been busy with other projects. It looks very useful. I'll merge it into the master branch. Could I ask you to update the Atm_led and Atm_button...

There's nothing like that made AFAIK. But it's not that difficult. You could create a subclass of the Atm_analog machine and override the (virtual) read_sample() function to read a value...

I think I'd just copy the existing atm_led & atm_button classes and create atm_mcp23017_button and atm_mcp23017_led classes. Include the mcp23017 library and modify the code. It shouldn't be too difficult.