MicroPython Anleitung

Die MicroPython Anleitung zum BBC micro:bit
Python ist eine Programmiersprache, die sowohl von Anfängern als auch von Computerexperten verwendet wird. Python ist vollständig textbasiert, was anfangs vielleicht einschüchternd wirkt, aber mit ein wenig Anleitung und Übung kann jeder anfangen zu programmieren - und dieser Leitfaden ist hier, um zu helfen!
Die Version von Python, die vom BBC micro:bit verwendet wird, heißt MicroPython. Klicke auf die nachfolgenden Links, um zu den verschiedenen Abschnitten unserer MicroPython-Dokumentation zu gelangen, in denen alle Funktionen aufgelistet sind, die dein micro:bit mit Python ausführen kann.
Alle untenstehenden Anleitungen funktionieren mit dem online Python Editor.
Einführung
Also, worum geht es bei Python? Wer benutzt sie? Was kann Python für mein micro:bit tun? Alle diese Fragen werden im Folgenden beantwortet.
View the IntroductionDie Grundlagen
Fangen wir mit den Grundlagen an - erstelle für deine micro:bit die Laufschrift "Hello World!"
View the Hello World sectionBilder
Get those 25 LEDs on your micro:bit under your control and find out about the fun pre-programmed pictures you can use in MicroPython.
View the Images sectionTasten
The A and B buttons on your micro:bit are one of the many 'inputs' it responds to. Learn how to use them here.
View the Buttons sectionEingabe/Ausgabe
The strip of golden 'teeth' at the bottom of your micro:bit aren't just to be fashionable, they can be used to hook your micro:bit to all sorts of electronics!
View the Input/Output sectionWLAN
Learn how to make your micro:bit communicate wirelessly with other devices - like magic!
View the Radio sectionMusik
Attach a speaker to your micro:bit and suddenly it becomes a high-tech instrument! Learn about writing music for your micro:bit and the cool built-in melodies available.
View the Music sectionZufall
Take a chance and learn how to make your micro:bit mix things up using the Random module.
View the Random sectionBewegung
Bored of just using buttons? Use tilting and movement to tell your micro:bit what to do!
View the Movement sectionGesten
Your micro:bit can tell which way up it's facing and how fast it's moving. Take advantage of these gesture codes and be a real smooth mover.
View the Gestures sectionRichtung
Did you know that the micro:bit not only has an accelerometer built-in but a compass? Head directly to the link below and find out more.
View the Direction sectionSprache
Your micro:bit will be the talk of the town with the Speech module! Follow this guide to make your micro:bit talk, do silly voices and even sing!
View the Speech sectionNetzwerk
Double the micro:bit, double the fun! Learn how to connect two micro:bits together using their Input/Output pins.
View the Network sectionNächste Schritte
Always experiment, always explore, always learn! Once you get used to the coding concepts in this guide, read here to learn how to take things further.
Click here to read the Next Steps.