Skip to content

texnic/microbit_traffic_lights

Repository files navigation

Open this page at https://texnic.github.io/microbit_traffic_lights/

Circuit

Connect green, yellow and red LEDs, via 1 kOhm resistor each, to Micro:bit ground and pins 0, 1, 2 respectively.

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>

About

Control LEDs with micro:bit v. 2: lights change on clapping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published