Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 454 Bytes
from microbit import *
import neopixel
import music
np = neopixel.NeoPixel(pin2, 8)
music.play(music.NYAN,wait=False)
while True:
for i in range(5):
np[i] = (155, 0, 0)
np.show()
sleep(500)
for i in range(5):
np[i] = (0, 155, 0)
np.show()
sleep(500)
for i in range(5):
np[i] = (0, 0, 155)
np.show()
sleep(500)
music.play(music.ODE,wait=False)