added code for ToF and inserted e_button thread

Dependencies:   wheelchaircontrol1

Revision:
24:9dad371e3191
Parent:
0:7e6b349182bc