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.
News: All of Octopus bricks has supported Scratch programming. ElecFreaks builded EFBlock support drag and drop programming . Guide please check here.
Packing List
-
1 x 5mm LED Brick
-
1 x Analog Sensor Cable
Quick Start
Hardware Connection
Connect LED brick to P0 port on OCTOPUS:BIT.
Programming Code
You can see the whole program from the link here: https://makecode.microbit.org/_D2seg3fLH2Tt
Result
LED brick flashes with 1 second interval.
Resources:
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.