Added some micro:bit projects I previously did in here

This commit is contained in:
janis
2022-05-19 15:06:51 +02:00
parent dc2bd211e0
commit ac376880b1
12 changed files with 122 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
import music
from microbit import *
while True:
if button_a.is_pressed() is True:
pin1.write_digital(1)
music.pitch(440, 50, wait=False)
else:
music.stop()
pin1.write_digital(0)