MicroPython Cookbook: Over 110 practical recipes for programming embedded systems and microcontrollers with PythonPackt Publishing Ltd, 21.05.2019 - 452 Seiten Learn how you can control LEDs, make music, and read sensor data using popular microcontrollers such as Adafruit Circuit Playground, ESP8266, and the BBC micro:bit Key Features
If you want to build and program projects that use microcontrollers, this book will offer you dozens of recipes to guide you through all the major applications of the MicroPython platform. Although no knowledge of MicroPython or microcontrollers is expected, a general understanding of Python is necessary to get started with this book. |
Inhalt
| 1 | |
| 7 | |
| 27 | |
Creating Sound and Music | 53 |
Interacting with Buttons | 75 |
Reading Sensor Data | 98 |
Button Bash Game | 117 |
Fruity Tunes | 141 |
Controlling the ESP8266 | 228 |
Interacting with the Filesystem | 252 |
Networking | 275 |
Interacting with the Adafruit FeatherWing OLED | 313 |
Building an Internet of Things IoT Weather Machine | 343 |
Coding on the Adafruit HalloWing Microcontroller | 378 |
Other Books You May Enjoy | 405 |
| 408 | |
Andere Ausgaben - Alle anzeigen
MicroPython Cookbook: Over 110 Practical Recipes for Programming Embedded ... Marwan Alsabbagh Keine Leseprobe verfügbar - 2019 |
Häufige Begriffe und Wortgruppen
accelerometer adafruit_circuitplayground.express import cpx angle animation APPID block of code brightness button press called chapter Circuit Playground Express CircuitPython code presented color configured connect DC motors def main defined detected device display Documentation ESP8266 to run event loop Execute the following Express to run filesystem Follow these steps following block following code following lines Getting ready GPIO handler import board infinite loop interact iteration JSON lines of code main.py file method micro:bit microcontroller MicroPython need access NeoPixel object oled.show output path pixels play player projects push button Python module random recipe will show references regarding regarding this recipe REPL on Circuit request run the code Run the following screen script self.last sensor server servo slide switch soft reboot speaker steps to learn There's throttle touch events touchpad variable wait_for_networking weather web services WebREPL Wi-Fi
