4. Units Operation

9. LIGHT sensor

134 views 2019-06-04 peterletintech 0

Hardware requirement

  • M5GO
  • Connecting wire
  • Light sensor

LIGHT is a light sensor unit with an adjustable resistor that can detect the lightironmental light intensity. You can read analog signal(lightironmental light intensity) staright or get a digital signal(0/1) that means whether the light exists or not.


How to use the unit

Step 1. Drag two labels to the screen.

Step 2. Plug the LIGHT unit.

Step 3. Drag the “Get light0 Analog Value” and “Get light0 Digital Value” from units “Light”.

Step 4. Execute it and see the result. (Click and see the result)

Was this helpful?