Ampy to transfer files to Pycom microcontroller: Difference between revisions

From Sensors in Schools
Jump to navigation Jump to search
Line 16: Line 16:


</syntaxhighlight>
</syntaxhighlight>
[[File:Screenshot 2023-07-29 at 11.59.27 am.png | 900px]]


* To check that ampy has installed correct enter the following in the Terminal.
* To check that ampy has installed correct enter the following in the Terminal.
Line 22: Line 24:
ampy --help
ampy --help
</syntaxhighlight>
</syntaxhighlight>
[[File:Screenshot 2023-07-29 at 12.01.27 pm.png | 900px]]


* To upgrade ampy to the latest version enter the code
* To upgrade ampy to the latest version enter the code

Revision as of 02:02, 29 July 2023

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