new BaseLight(port)
It is a base Class of Light
Parameters:
Name | Type | Description |
---|---|---|
port |
Number |
Extends
- Electronic
Methods
-
async getData() → {Promise}
-
Get data of the Light sensor
Returns:
Promise