Skip to main content

User account menu

  • Log in
Home
Lab Test Site

Main navigation

  • Home
  • STEM
  • Esp32
  • Micro:bit

Breadcrumb

  1. Home

Getting Started with the micro:bit

By admin on Mon, 10 Nov 2025 - 23:18
Getting Started with the micro:bit
    The Micro Bit (also referred to as BBC Micro Bit or stylized as micro:bit) is an open source hardware ARM-based embedded system designed by the BBC for use in computer education in the United Kingdom. It was first announced on the launch of BBC's Make It Digital campaign on 12 March 2015[5][6] with the intent of delivering 1 million devices to pupils in the UK. The final device design and features were unveiled on 6 July 2015[7] whereas actual delivery of devices, initially planned for September 2015 to schools and October 2015 to general public,[8] began on 10 February 2016.[9][10]

 The device is described as half the size of a credit card[11] and has an ARM Cortex-M0 processor, accelerometer and magnetometer sensors, Bluetooth and USB connectivity, a display consisting of 25 LEDs, two programmable buttons, and can be powered by either USB or an external battery pack.[3] The device inputs and outputs are through five ring connectors that form part of a larger 25-pin edge connector.

 

 

from machine import Pin
from time import sleep

# Define the output pin (GPIO2 used here, same as Micro:bit P2 equivalent)
led = Pin(2, Pin.OUT)

# Run forever
while True:
    led.value(1)   # Turn LED on
    sleep(1)       # Wait 1 second
    led.value(0)   # Turn LED off
    sleep(1)       # Wait 1 second
Tags
Micro:bit
  • Log in to post comments

Legal

  • Contact
Clear keys input element