from microbit import *
while True:
if pin_logo.is_touched():
display.show(Image.HAPPY)
sleep(500)
display.show(Image.SAD)
sleep(500)
elif button_a.is_pressed():
display.show(Image.THUMBS_UP)
sleep(1000)
display.clear()
elif button_b.is_pressed():
display.scroll("Keep going!")
sleep(1000)
Copyright ⓒ TECH79 All right reserved