Skip to content

crwdns342183:0crwdne342183:0

crwdns312462:0crwdne312462:0

crwdns347531:0crwdne347531:0 | MakeCode, Python | crwdns255560:0crwdne255560:0, crwdns255566:0crwdne255566:0 | crwdns258504:0crwdne258504:0, crwdns258616:0crwdne258616:0, crwdns273628:0crwdne273628:0

crwdns273786:0crwdne273786:0

crwdns273788:0crwdne273788:0

crwdns274000:0crwdne274000:0 crwdns274002:0crwdne274002:0 crwdns274004:0crwdne274004:0

crwdns274006:0crwdne274006:0

crwdns273800:0crwdne273800:0

crwdns273804:0crwdne273804:0

crwdns273806:0crwdne273806:0

  • crwdns273808:0crwdne273808:0
  • crwdns274008:0crwdne274008:0

crwdns273812:0crwdne273812:0

  • crwdns273814:0crwdne273814:0 crwdns273816:0crwdne273816:0
  • crwdns274010:0crwdne274010:0
  • crwdns273820:0crwdne273820:0 crwdns273822:0crwdne273822:0
  • crwdns273824:0crwdne273824:0 crwdns274012:0crwdne274012:0

crwdns273828:0crwdne273828:0

  • crwdns273830:0crwdne273830:0
  • crwdns273832:0crwdne273832:0
  • crwdns273834:0crwdne273834:0

crwdns273836:0crwdne273836:0

1from microbit import *
2
3while True:
4    if display.read_light_level() < 100:
5        display.show(Image(
6        "00000:"
7        "09900:"
8        "99999:"
9        "99999:"
10        "90090"))
11    else:
12        display.clear()
13    sleep(2000)

crwdns273838:0crwdne273838:0

  • crwdns273840:0crwdne273840:0
  • crwdns273842:0crwdne273842:0
  • crwdns273844:0crwdne273844:0