Skip to content

Commit 25301f2

Browse files
authored
Update programming_instructions.md (#441)
Fix the description of `europi-contrib`'s `main.py` in the programming instructions. Resolves #440
1 parent 49543bb commit 25301f2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

software/programming_instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Now that you have installed the europi.py and ssd1306 libraries, you are ready t
129129
### Install the contrib scripts and setup the menu
130130

131131
The easiest way to start using EuroPi is to [install the `europi_contrib` library](#optional-installing-the-europi-contrib-library).
132-
This will automatically create `main.py` containing the following:
132+
This will automatically create `lib/main.py` containing the following:
133133

134134
```python
135135
import gc
@@ -139,10 +139,10 @@ gc.collect()
139139
BootloaderMenu(EUROPI_SCRIPTS).main()
140140
```
141141

142-
This will automatically run a menu when EuroPi boots, allowing you to select a program from
143-
the list to run. After choosing a program, EuroPi will automatically restart that program
144-
next time it powers-on. To return to the menu, reset EuroPi by holding `B1` and `B2` for
145-
a few seconds.
142+
Copy this file from the `lib` directory into the root folder of the Pico using Thonny's file browser.
143+
This file, when copied to the root folder, will automatically run a menu when EuroPi boots, allowing you to select a program from
144+
the list to run. After choosing a program, EuroPi will automatically restart that program next time it powers-on. To return to
145+
the menu, reset EuroPi by holding `B1` and `B2` for a few seconds.
146146

147147
If this is a brand new EuroPi, or you have just reinstalled the software, we recommend running
148148
the [`~Calibrate`](#calibrate-the-module) program first. Calibrating is optional, but if you

0 commit comments

Comments
 (0)