Change-based sensor notifications from Esplora

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. :wink: