Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
MicroPython Projects

You're reading from  MicroPython Projects

Product type Book
Published in Apr 2020
Publisher Packt
ISBN-13 9781789958034
Pages 294 pages
Edition 1st Edition
Languages
Author (1):
Jacob Beningo Jacob Beningo
Profile icon Jacob Beningo

Table of Contents (14) Chapters

Preface Down the Rabbit Hole with MicroPython Managing Real-Time Tasks Writing a MicroPython Driver for an I/O Expander Developing an Application Test Harness Customizing the MicroPython Kernel Start Up Code A Custom Debugging Tool to Visualize Sensor Data Device Control Using Gestures Automation and Control Using Android Building an Object Detection Application Using Machine Learning The Future of MicroPython Downloading and Running MicroPython Code
Assessments Other Books You May Enjoy

Downloading and Running MicroPython Code

Running the script in Listing 2 on the pyboard can be accomplished in just a few easy steps:

  1. Connect the pyboard to your computer.
  2. Open your terminal application and connect to the pyboard (refer to the MicroPython documentation | Quick reference for the pyboard | MicroPython tutorial for the pyboard |3. Getting a MicroPython REPL prompt, for details).
  3. In the terminal, press Ctrl + C to interrupt any currently running scripts.
  4. Copy the script to the pyboard USB drive.
  5. Once the red light has turned off, the pyboard flash system will be updated.
  6. In the terminal, press Ctrl + D to perform a soft reset.
lock icon The rest of the chapter is locked
You have been reading a chapter from
MicroPython Projects
Published in: Apr 2020 Publisher: Packt ISBN-13: 9781789958034
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}