Integrated, working file (e-button and watchdog not integrated yet)

Dependencies:   Watchdog

Revision:
10:b5f6337c3a20
Parent:
0:7e6b349182bc