This is the MakeCode Package for xChip SL01
Initializes the SL01 Light Sensor.
Sets up the SL01 and prepares it for use by the micro:bit.
This block must be placed before any other SL01 related blocks.
SL01 Ambient Light (Lux)
Instructs the Sensor to perform a LUX measurement.
SL01 UVA (mW/cm^2)
Instructs the Sensor to perform a UVA measurement.
- for PXT/microbit