Arduino_MKRENV - readUVB()

Read the UV sensor’s UV B value.

Syntax

ENV.readUVB()   

Parameters

None.

Returns

The UV sensor’s UV B value.

Example

Serial.print("UVB = ");
Serial.println(ENV.readUVB());

See also