© Charles Bell 2020
C. BellBeginning Sensor Networks with XBee, Raspberry Pi, and Arduinohttps://doi.org/10.1007/978-1-4842-5796-8_3

3. Programming in MicroPython

Charles Bell1 
(1)
Warsaw, VA, USA
 

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.

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

Get Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino: Sensing the World with Python and MicroPython 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.