Skip to content

crwdns342183:0crwdne342183:0

crwdns312056:0crwdne312056:0

crwdns347531:0crwdne347531:0 | MakeCode, Python | crwdns255558:0crwdne255558:0, crwdns255566:0crwdne255566:0, crwdns255570:0crwdne255570:0 | crwdns258498:0crwdne258498:0, crwdns258554:0crwdne258554:0, crwdns258616:0crwdne258616:0, crwdns273626:0crwdne273626:0

crwdns273640:0crwdne273640:0

crwdns273642:0crwdne273642:0

crwdns273940:0crwdne273940:0 crwdns273942:0crwdne273942:0

crwdns273944:0crwdne273944:0

crwdns273652:0crwdne273652:0

crwdns273656:0crwdne273656:0

crwdns273658:0crwdne273658:0

  • crwdns273660:0crwdne273660:0
  • crwdns273662:0crwdne273662:0

crwdns273664:0crwdne273664:0

  • crwdns273666:0crwdne273666:0 crwdns273946:0crwdne273946:0 crwdns273670:0crwdne273670:0
  • crwdns273672:0crwdne273672:0 crwdns273674:0crwdne273674:0 crwdns273676:0crwdne273676:0
  • crwdns273678:0crwdne273678:0 crwdns273680:0crwdne273680:0
  • crwdns273682:0crwdne273682:0
  • crwdns273684:0crwdne273684:0

crwdns273686:0crwdne273686:0

  • crwdns273688:0crwdne273688:0
  • crwdns273690:0crwdne273690:0
  • crwdns273692:0crwdne273692:0

crwdns273694:0crwdne273694:0

1from microbit import *
2import radio
3radio.config(group=2)
4radio.on()
5
6while True:
7    message = radio.receive()
8    if message:
9        display.show(Image.HAPPY)
10    if button_a.is_pressed():
11        display.clear()
12        radio.send('smile')

crwdns273696:0crwdne273696:0

  • crwdns273698:0crwdne273698:0
  • crwdns273700:0crwdne273700:0
  • crwdns273702:0crwdne273702:0 crwdns273704:0crwdne273704:0
  • crwdns273706:0crwdne273706:0