Skip to main content
  • 2061 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    www.json.org/

  2. 2.

    https://en.wikipedia.org/wiki/String_interpolation

  3. 3.

    www.python.org/dev/peps/pep-0008

  4. 4.

    Yes, dictionaries are objects! So are tuples and lists and many other data structure.

  5. 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

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Charles Bell

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics