Go Down

Topic: Change-based sensor notifications from Esplora (Read 2121 times) previous topic - next topic


Feb 26, 2013, 10:47 pm Last Edit: Feb 27, 2013, 12:21 am by RickBullotta Reason: 1
Any "best practices" for handling change-based notification of sensor/switch events?  I'm currently just using a loop with a small delay, then comparing previous value to current value, and dispatching an external event when there is a delta.  I've added some deadbanding on the analog sensors to avoid excessive chatter also.  Just wondering if there is a "non-polling" way to do this?  Thanks!  Really digging the device. Makes for fun demos. ;-)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131