Octopus 5mmLED light Brick, and special sensors Arduino board and ambient light sensor extension combination, can be used in the interaction with the light works. When the LED light module connected to Arduino, the digital pin (LOW on, HIGH off) is used to control it. The brightness of LED can be controlled via PWM output.
Connect LED brick to P0 port on OCTOPUS:BIT.
You can see the whole program from the link here: https://makecode.microbit.org/_X2tfbxCWHfq6
LED brick flashes with 1 second interval.
1 x 5mm LED Brick
1 x Analog Sensor Cable
Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials.
alignnone size-medium wp-image-37