© Charles Bell 2017

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

5. MicroPython Libraries

Charles Bell

(1)Warsaw, Virginia, USA

Now that we have a good grasp on how to write our code in Python and MicroPython, it is time to look at the supporting libraries that make up the firmware. As you will see, the libraries available in MicroPython mirror those in Python. In fact, the libraries in the firmware (sometimes called the application programming interface or API or firmware API) comprise a great deal of the same libraries in Python.

There are some notable exceptions for standard libraries where there is an equivalent library in MicroPython, but it has been renamed to distinguish it from the Python ...

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.