Skip to content

crwdns342183:0crwdne342183:0

crwdns336628:0crwdne336628:0

crwdns347531:0crwdne347531:0 | MakeCode, Python | crwdns255560:0crwdne255560:0, crwdns255566:0crwdne255566:0, crwdns255572:0crwdne255572:0 | crwdns258502:0crwdne258502:0, crwdns258504:0crwdne258504:0, crwdns258584:0crwdne258584:0, crwdns293304:0crwdne293304:0

crwdns336572:0crwdne336572:0

crwdns336574:0crwdne336574:0

crwdns336576:0crwdne336576:0 crwdns336578:0crwdne336578:0

crwdns336580:0crwdne336580:0

crwdns336590:0crwdne336590:0

  • crwdns336592:0crwdne336592:0
  • crwdns336594:0crwdne336594:0
  • crwdns336596:0crwdne336596:0
  • crwdns336598:0crwdne336598:0
  • crwdns336600:0crwdne336600:0 crwdns336602:0crwdne336602:0

crwdns336604:0crwdne336604:0

  • crwdns336606:0crwdne336606:0
  • crwdns336608:0crwdne336608:0
  • crwdns336610:0crwdne336610:0

crwdns336612:0crwdne336612:0

1from microbit import *
2import music
3
4while True:
5    if display.read_light_level() > 70:
6        display.show(Image(
7        "90909:"
8        "09990:"
9        "99999:"
10        "09990:"
11        "90909"))
12        music.play(music.DADADADUM)    
13    else:
14        display.clear()
15        

crwdns336614:0crwdne336614:0

  • crwdns336616:0crwdne336616:0
  • crwdns336618:0crwdne336618:0