Skip to main content

Light Sensors

These basic analogue sensor blocks are useful for reading light levels and knob positions.

Light/dark

Check whether an LDR sensor is currently seeing light or dark.

Raw light sensor value

Read the raw analogue value from a light-dependent resistor.

Potentiometer on pin

Read the position of a potentiometer connected to an analogue pin.