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 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!
Octopus Single RGB Rainbow LED has a single rainbow LED mounted on the same basic board as the rest of the Octopus Brick line, with the same orientation, mounting holes, and connectors. It uses smart LED that allows you to program the color and brightness of the LED!
Outlook and Dimension
Connection note: Connect this to the P1 port in OCTOPUS:BIT.
Start with microcode and then click "Advanced" in the selection of MakeCode.
We need to add a package for programming. Click "Add Package" on the bottom of the page, and search "neopixel" in the dialogue box, the package is pointed by the red arrow below.
Programme with accelerometer to control the color of LED. Program
The led begins with white light and then the color begins to change gradually with the shaking of the micro:bit.