This example wakes up every 10 seconds, increments and logs a counter, then goes into a deep sleep.