Octopus Electronic Bricks! You can use them build electronics projects just as easy as piling bricks! By using Octopus electronic bricks, you may connect Arduino, micro:bit, or compatible boards easily with various digital, analog and I2C/Uart interfaces. These breadboard-less firm connections includes an extensive collection of modules like potentiometers, sensors, relays, servos, and even buttons. Just plug and play!
The Octopus 5mmLED light Brick can light up your project! Use it on its own or in combination with light sensors and your microcontroller of choice to create light- based circuits!
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.
There are five colors to choose from! White, Red, Blue, Green, Yellow.
Pin Definition :1 Signal(Yellow) 2 Vcc(Red) 3 GND(black)
Connect LED brick to P0 port on OCTOPUS:BIT.
You can see the whole program from the link here
LED brick flashes with 1 second interval.
Please visit the ElecFreaks 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.