added code for ToF and inserted e_button thread

Dependencies:   wheelchaircontrol1

Revision:
24:9dad371e3191
Parent:
23:497a6a11fe63