© Charles Bell 2017

Charles Bell, MicroPython for the Internet of Things, https://doi.org/10.1007/978-1-4842-3123-4_4

4. How to Program in MicroPython

Charles Bell

(1)Warsaw, Virginia, USA

Now that we have a basic understanding of the various MicroPython boards, we can learn more about programming in MicroPython – a very robust and powerful language that you can use to write very powerful applications. Mastering MicroPython is very easy and some may suggest it doesn’t require any formal training to use. This is largely true and thus you should be able to write MicroPython scripts with only a little bit of knowledge about the language.

Given that MicroPython is Python, we can learn the basics of the Python language first through examples on our PC. ...

Get MicroPython for the Internet of Things: A Beginner’s Guide to Programming with Python on Microcontrollers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.