Ampy to transfer files to Pycom microcontroller

From Sensors in Schools
Revision as of 20:54, 28 July 2023 by EdmondLascaris (talk | contribs) (Created page with "= Ampy to transfer files to Pycom microcontroller = = Authors = For more information contact Adam Simankowicz or Edmond Lascaris = References = * [https://learn.adafruit.com/micropython-basics-load-files-and-run-code Micropython basics- Load and run code] * [https://github.com/scientifichackers/ampy Ampy GitHub] * [https://github.com/dhylands/rshell rshell alternative - not used] = Installation of Ampy = <syntaxhighlight lang="bash"> sudo pip3 install adafruit-ampy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 of 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