Abstract
The MicroPython firmware, as the most basic of functionality, is the same from board to board for all the general Python language supported and many of the built-in functions. However, some of the libraries in the MicroPython firmware have a few minor differences from one board to another. In some cases, there are more libraries or classes available than others or perhaps the classes are organized differently, but most implement the same core libraries in one form or another. The same cannot be said to be true at the lower-level hardware abstraction layers. This is simply because one board vendor may implement different hardware than others. In some cases, the board has features that are not present on other boards. For example, the WiPy has WiFi and Bluetooth but the Pyboard has neither.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
Whenever you find yourself making functions for commonly used code, it is time to consider adding it to a library of your favorite functions to make the code available for all your programs as we discussed in Chapter 5.
- 4.
No, I am not affiliated with either of these – merely a devoted fan and frequent return customer. Check them out!
- 5.
But feel free if you are curious. If you do, you will see an interesting bit of code that demonstrates the addressability of I2C devices.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Charles Bell
About this chapter
Cite this chapter
Bell, C. (2017). Low-Level Hardware Support. In: MicroPython for the Internet of Things. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3123-4_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3123-4_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3122-7
Online ISBN: 978-1-4842-3123-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)