Lernpfad:Das micro:glow/6: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 10: Zeile 10:


while True:
while True:
if button_a.is_pressed():
    if button_a.is_pressed():
radio.send(str(randint(0,9)))
        radio.send(str(randint(0,9)))


incoming = radio.receive()
    incoming = radio.receive()
if incoming:
    if incoming:
display.show(incoming)
        display.show(incoming)
</syntaxhighlight>
</syntaxhighlight>
{{Aufgabe:Start|Icon=MuEditor.png}}
{{Aufgabe:Start|Icon=MuEditor.png}}
8.581

Bearbeitungen