🤖
🤖
🤖
🤖
KidsCode
Search…
Welcome to KidsCode
Setting up mBlock
Arduino Lessons
Arduino Beginner Lessons
Bluetooth LED
Arduino Robot Car
Arduino Bluetooth Car
Micro:bit Beginners
micro:bit, the hardware
Overview of MakeCode
Video Library
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Micro:bit Advanced Activities
Blinking an LED
Traffic Signal
Powered By
GitBook
Blinking an LED
What will we do
Lets start by making our LED blink on and off. The way to make an LED blink is to follow this sequence of code instructions over and over again:
Turn the LED on
Delay for a period of time
Turn the LED off
Delay for a period of time
Parts List
You will need the following parts:
1x
micro:bit
1x
Micro B USB Cable
1x
Breadboard
1x
Jumper Wire
1x
LED
1x
Resistor
Wiring it up
This example we use a red LED but you can use any colour LED you prefer.
Ensure that the LED are the right way around, with the longer positive leads (anodes) to the left.
Block Coding
​
Previous
1 + 1 = 2
Next - Micro:bit Advanced Activities
Traffic Signal
Last modified
2yr ago
Copy link
Contents
What will we do
Parts List
Wiring it up
Block Coding