KevsRobots Learning Platform
100% Percent Complete
By Kevin McAleer, 2 Minutes
MP Remote is a command-line tool for managing MicroPython devices. It provides a simple and intuitive interface to interact with your MicroPython boards, upload files, run scripts, and more.
MP Remote offers the following features:
To install MP Remote, use the Python package manager pip. Run the following command in your terminal:
pip install mp-remote
After installing MP Remote, use the mp-remote command in your terminal to interact with your MicroPython device. Here are some common commands:
Connect to a MicroPython device using its serial port:
mp-remote connect /dev/ttyUSB0
Execute a Python script on the connected MicroPython device:
mp-remote run script.py
Upload a file to the connected MicroPython device:
mp-remote upload file.py
Download a file from the connected MicroPython device:
mp-remote download file.py
Delete a file on the connected MicroPython device:
mp-remote delete file.py
Enter the REPL mode to interact with the MicroPython device directly:
mp-remote repl
Get information about the connected MicroPython device:
mp-remote info
MP Remote is a versatile tool for managing MicroPython devices. With its interactive shell, file management capabilities, and script execution features, you can easily work with your MicroPython boards and create exciting projects.
You can use the arrows β β on your keyboard to navigate between lessons.
Comments