Ampy to transfer files to Pycom microcontroller

From Sensors in Schools
Jump to navigation Jump to search

Ampy to transfer files to Pycom microcontroller

Authors

For more information contact Adam Simankowicz or Edmond Lascaris

References

Installation of Ampy

sudo pip3 install adafruit-ampy
  • To check that ampy has installed correct enter the following in the Terminal.
ampy --help
  • To upgrade ampy to the latest version enter the code
sudo pip3 install adafruit-ampy --upgrade

Uploading and running micropython programs

Using the REPL

  • REPL is an abbreviation (acronym) for Read, Evaluate, Print, and Loop
  • Developers use REPL Python to communicate with the Python Interpreter or Python Shell.
  • You can also input commands and python code directly in the REPL and see the results displayed immediately.

Installing screen to use REPL