Go Down

Topic: Change-based sensor notifications from Esplora (Read 2938 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