Reference   Language | Libraries | Comparison | Changes

Arduino_MKRENV : ENV class

readUVB

Description

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

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.