new Touch()
Extends
- Electronic
Members
-
protocol
-
getter of protocol
Methods
-
async getData() → {Promise}
-
Get data of Touch sensor
Returns:
PromiseExample
mcore.Touch(1) .getData() .then((val) => { console.log(val) });