{"id":28742018,"url":"https://github.com/liaplayground/microbit-demo-tutorial","last_synced_at":"2026-02-02T15:40:03.990Z","repository":{"id":294689475,"uuid":"987772073","full_name":"LiaPlayground/microbit-demo-tutorial","owner":"LiaPlayground","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-22T09:35:38.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-16T08:13:53.782Z","etag":null,"topics":["liascript","liascript-course","markdown","microbit","micropython","oer"],"latest_commit_sha":null,"homepage":"https://liascript.github.io/course/?https://raw.githubusercontent.com/LiaPlayground/microbit-demo-tutorial/refs/heads/main/README.md","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiaPlayground.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-21T15:02:51.000Z","updated_at":"2025-05-22T09:35:42.000Z","dependencies_parsed_at":"2025-05-21T16:25:56.573Z","dependency_job_id":"532ae4f7-0731-4eb7-bdd7-c87cf6d3cf5e","html_url":"https://github.com/LiaPlayground/microbit-demo-tutorial","commit_stats":null,"previous_names":["liaplayground/microbit-demo-tutorial"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LiaPlayground/microbit-demo-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaPlayground%2Fmicrobit-demo-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaPlayground%2Fmicrobit-demo-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaPlayground%2Fmicrobit-demo-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaPlayground%2Fmicrobit-demo-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiaPlayground","download_url":"https://codeload.github.com/LiaPlayground/microbit-demo-tutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaPlayground%2Fmicrobit-demo-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29014509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T14:58:54.169Z","status":"ssl_error","status_checked_at":"2026-02-02T14:58:51.285Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["liascript","liascript-course","markdown","microbit","micropython","oer"],"created_at":"2025-06-16T08:13:52.091Z","updated_at":"2026-02-02T15:40:03.971Z","avatar_url":"https://github.com/LiaPlayground.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n\nauthor:   Sebastian Zug; André Dietrich\n\nemail:    LiaScript@web.de\n\nlanguage: de\n\ncomment:  Dies ist ein interaktiver Demo-Kurs zu MicroPython basierend auf der MicroBit v2 Plattform. \n\nedit:    https://liascript.github.io/LiveEditor/?/show/file/https://raw.githubusercontent.com/LiaPlayground/microbit-demo-tutorial/refs/heads/main/README.md\n\nimport:  https://raw.githubusercontent.com/liaTemplates/webserial/main/README.md\n         https://raw.githubusercontent.com/liaTemplates/MicroBit-Simulator/main/README.md\n\npersistent: true\n\n--\u003e\n\n[![LiaScript](https://raw.githubusercontent.com/LiaScript/LiaScript/master/badges/course.svg)](https://liascript.github.io/course/?https://raw.githubusercontent.com/LiaPlayground/microbit-demo-tutorial/refs/heads/main/README.md)\n[![LiveEdit](https://raw.githubusercontent.com/LiaScript/LiaScript/refs/heads/development/badges/editor.svg)](https://liascript.github.io/LiveEditor/?/show/file/https://raw.githubusercontent.com/LiaPlayground/microbit-demo-tutorial/refs/heads/main/README.md)\n\n# MicroPython auf dem BBC micro:bit\n\n## 1. BBC micro:bit\n\nDer BBC micro:bit ist ein kostengünstiges, programmierbares Board, entwickelt für Bildungszwecke:\n\n* __Prozessor:__ 32-bit ARM Cortex-M0 (Nordic nRF51822)\n* __Sensoren:__ Beschleunigungssensor, Kompass (Magnetometer), Temperatur\n* __LED-Matrix:__ 5×5 LEDs\n* __Buttons:__ A und B\n* __Kommunikation:__ Bluetooth Low Energy, I²C, SPI, UART\n* __Stromversorgung:__ USB oder Batteriehalter für 2 × AAA\n\n??[Micro:Bit](https://sketchfab.com/3d-models/microbit-b453f11ad77a4545a33b3e0ecfba6fc5)\n\n\u003e **Anwendungsbeispiele**: Anzeige von Texten über LEDs, einfache Spiele, Sensor-Daten-Visualisierung, Bluetooth-Projekte.\n\n\n\n## 2. Einführung in MicroPython\n\nMicroPython ist eine schlanke Python-Implementierung für Mikrocontroller. Es ermöglicht dir, den micro\\:bit mit einfachem Python-Code zu steuern.\n\n* __Vorteile__:\n\n  * Leichtgewichtig und ressourcenschonend\n  * Gut dokumentiert und ideal für Einsteiger\n  * Direkte Interaktion über die REPL (Konsole)\n\n``` python\nprint(12 * 11)\n```\n@microbit\n\n## 3. Dein erstes MicroPython-Programm\n\n```python\nfrom microbit import *\n\nwhile True:\n    display.scroll('Hallo!')\n    sleep(1000)\n```\n@microbit\n\n* **Erklärung**:\n\n  * `from microbit import *`: Importiert alle Funktionen der micro\\:bit-Bibliothek\n  * `display.scroll('Hallo!')`: Scrollt den Text über die LEDs\n  * `sleep(1000)`: Wartet 1000 ms (1 Sekunde)\n\n---\n\n## 4. Nächste Schritte\n\n* Experimentiere mit den Sensoren:\n\n  ```python\n  from microbit import *\n  while True:\n      x = accelerometer.get_x()\n      display.show(str(x))\n      sleep(200)\n  ```\n  @microbit\n\n* Nutze Tasten-Ereignisse:\n\n  ```python\n  from microbit import *\n\n  while True:\n      if button_a.was_pressed():\n          display.show('A')\n      if button_b.was_pressed():\n          display.show('B')\n  ```\n  @microbit\n\nViel Spaß beim Programmieren mit deinem micro\\:bit und MicroPython! 🎉\n\n\n## 5. Live Programming\n\n``` python\nfrom microbit import *\n\n# Display a scrolling message\ndisplay.scroll(\"Hello edrys!\")\n\n# Read the temperature\ntemp = temperature()\nprint(\"Temperature:\", temp)\n\n# Display a heart on the LED matrix\ndisplay.show(Image.HEART)\n```\n@WebSerial\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaplayground%2Fmicrobit-demo-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliaplayground%2Fmicrobit-demo-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaplayground%2Fmicrobit-demo-tutorial/lists"}