Top.Mail.Ru

Iguana MicroPython IDE Help

List of main functions and brief description of features

Purpose of the main elements of the interface

Important Features

When downloading code for execution using the "DOWNLOAD & RAN" button, any script previously running on the device is abandoned and the downloaded script starts executing.

All file operations also stop any script running on the device before. This also applies to the operation of updating the file list on the device ("Refresh File List" command).

Switching Serial (USB) / Wi-Fi mode terminates the current connection.

Stop-script

Working with a stop-script is one of the most convenient features of Iguana.

Any script can be set as a stop-script by selecting it in the list of files on the device and clicking the "Set Stop-Script" button. A small green square will appear next to the file name.

A script marked as a stop-script will be executed after the currently running script is stopped, if the stop is made using the "STOP" button.

This is convenient if, for example, we want to automatically turn off the motors controlled by our device every time the program is stopped. You just need to write a script that stops the motors and mark it as a stop script. It will be executed every time the current program is stopped. We will not need to approach the device to completely stop it. This is especially useful when programming robots.

You can cancel the installed stop-script by pressing the "Set Stop-Script" button again.

Using programming environment reload

In case of possible connection hangups with the device (this can happen, for example, when trying to open a non-existent network address during a Wi-Fi connection), you can use the programming environment reload using the "Reload" (Ctrl + R) command. Keep in mind that any unsaved data will be lost if you do this. Therefore, first you need to take care of saving the changes in the open editor tabs.