Abstract
Now that we have a basic understanding of the XBee modules, 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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
Yes, dictionaries are objects! So are tuples and lists and many other data structure.
- 5.
Technically, it is called name mangling, which simulates making something private, but can still be accessed if you provide the correct number of underscores. For more information, see https://en.wikipedia.org/wiki/Name_mangling.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Charles Bell
About this chapter
Cite this chapter
Bell, C. (2020). Programming in MicroPython. In: Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5796-8_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5796-8_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5795-1
Online ISBN: 978-1-4842-5796-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)