In this example we connect a photoresistor to a micro:bit, the value read from the photoresistor corresponds to the amount of light present. The photoresistor is connected to P3 in this example. A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor...
- Microbit and KY-034 7 color flashing LED
- Microbit and KY-009 RGB LED
- Microbit and KY-029 Dual Color LED
- Microbit and KY-011 Dual Color LED
- Microbit and KY-020 Tilt switch
- The Sino:bit : an open source relative of the Micro:bit
- Microbit and VCNL4040 Proximity and Ambient Light Sensor Arduino example
- Microbit and SHT40 Digital Humidity Sensor Arduino example