Your shopping cart is empty!
Octopus 5mm LED Brick OBLED - Red
- Brands Elecfreaks Code: BRK-LED-R
Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may connect Arduino/Freaduino compatible boards easily with various digital, analog, and I2C/Uart interfaces. These the breadboard-less firm connection are prepared to extensive modules like potentiometers, sensors, relays, servos even buttons, just plug and play.
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 the LED can be controlled via PWM output.
As the connector is SVG, this module/brick is compatible with:
Hardware Connection:
Connect to the P1 port on sensor:bit.
Programming:
Click the "Advanced" selection in the Makecode to check more coding selections.
We need to add a package for the coding. Click "Add package" from the bottom of the page and search"Tinker-kit" in the dialog box, then download the equivalent package.(Pointed by the red arrows below)
Code:
Program links: https://makecode.microbit.org/_J82V5PgzghKR
Results:
LED flashes each second.