www.keyestudio.com
Project 8: Light Detection
(1)Project Description
In this project, we focus on the light detection function of the Micro: Bit
main board V2. It is achieved by the LED dot matrix since the main board is
not equipped with a photoresistor.
When the light irradiates the LED matrix, the voltage change will be
produced. Therefore, we could determine the light intensity by voltage
change.
(2)Experimental Preparation:
Connect micro:bit to computer with the USB cable
Open online Makecode editor
Import Hex profile (How to import?)
Or click"New Project"and drag blocks step by step
(3)Test Code
157