Use sensor class

Dependencies:   VL53L3CX_mbed

no such method: tip