Pages: [1]   Go Down
Author Topic: Change-based sensor notifications from Esplora  (Read 1504 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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. ;-)
« Last Edit: February 26, 2013, 06:21:37 pm by RickBullotta » Logged

Pages: [1]   Go Up
Jump to: