13. Octopus 5mm LED Brick - White(EF04065)

13.1. Introduction


Octopus 5mmLED light Brick can be used in the interaction with the light works with micro:bit/Arduino.

../../_images/FJgPKrD.jpg

13.2. Characteristics


  • The 3-pins ports is easy to plug and play.

13.3. Specifications


Item Parameter
SKU EF04065
Working Voltage 3.3V~5V
Weight 5g

13.4. Outlook and Dimensions


../../_images/G7swW1F.png

13.5. Quick to Start


Materials used and connection diagram

  • Connect to the P0 port

    Take octupus:bit for example

../../_images/n43XoAW.jpg

Add Package

Click “Advanced”in the choice of the MakeCode to find more choices.

../../_images/smtcNoB1.png

Click “Extensions”, search “oled”in the dialog box and then download the “oled-ssd1306”. ../../_images/VGSLRXB.png

Program as the picture shows

Digital write pin P0 to 1 and 0 one second later.

../../_images/AAzv9pn.png

Reference

Links:https://makecode.microbit.org/_J82V5PgzghKR

You can also download the links below:

Result

  • LED flashes each second.

13.6. Relevant Cases


13.7. Technique Files