This page requires JavaScript to function properly. Please enable JavaScript in your browser settings.

P.W.M User Guide

Stop Icon Creds Overview

Project Description: This project involves setting up and using the THonny IDE to manage your Python programs on a microcontroller. Follow the steps below to get started.

Supplies

Supplies Title

Steps

Step 1: Stop the Running Program

Stop Icon

The top area of the THonny IDE will have a red stop icon. Pressing this icon will halt the currently running Python program and allow you to edit the files on the device.

Step 2: Edit the Credentials File

Creds Overview

Now that the board is no longer executing Python, its files are editable. Open the file `creds.py` in the IDE. This is the file that will hold all your passwords.

Important Notes for Using the Credentials Array:

  • Items in the array must be inside a tuple(). Every tuple except for the last one must be preceded by a comma ','.
  • Items inside the tuple (except for references to the predefined email array, such as email[0..1..2..etc]) must all be contained within quotes ''.