-
Notifications
You must be signed in to change notification settings - Fork 6
ML8511A Class
Jan Gromeš edited this page May 21, 2017
·
1 revision
-
Public member variables:
-
bool ML8511A::uvUV radiation intensity in mW/cm^2
-
-
Public member functions:
-
ML8511A::ML8511A(uint8_t position)The default constructor.position = ANALOG_1Default value, in case the sensor is connected to ANALOG_1 pin header on the shield.
position = ANALOG_2In case the sensor is connected to ANALOG_2 pin header on the shield. -
uint8_t ML8511A::init(void)The initialization function. Returns 0 on successful initialization, 1 on failure. -
uint8_t ML8511A::measure(void)The measurement function. Returns 0 if the public measurement variable was successfully updated, 1 if not.
-