This sketch demonstrates the various abilities of the 
Demonstrate sensor features using a simple state machine