Skip to content

mabiesen/microbit_pass_the_light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

microbit_pass_the_light

Microbit "firefly" project inspired by example provided in microbit documentation.

Requirements:

  1. Multiple microbits (I used four)
  2. Micropython text editor compatible with microbit. I used Mu.

NOTE: code alteration is required for this code to work.

What it looks like in action:

The programmer assigns ordinal ids to the microbits via a variable. The program begins when microbit one puts out a message signaling for microbit two to flash. The microbit flashes and sends a signal to three, three sends a signal to four, and four sends a signal back to one.

The first signal begins when you press the 'a' button. Press it again at any time to add another firing sequence into the mix.

You can press the 'b' button at any time to light up all microbits at once. This has some pretty neat after effects as each microbit then tries to send out its reply signal : )

About

Microbit "firefly" project inspired by example provided in microbit documentation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages