Skip to content

Commit 3c5e557

Browse files
committed
Remove matrix.py and playimage.py from Micropython installs
1 parent 0b78a70 commit 3c5e557

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ CircuitPython LCD libraries from https://github.com/dhylands/python_lcd
189189
**rgbblink.py [pin number]** - program to blink an onboard neopixel or dotstar
190190
**rgbrainbow.py [pin number]** - program to color cycle an onboard neopixel or dotstar
191191

192-
**matrix.py [width,height,depth,across,down]** - program to initalize connected HUB75 RGB Matrix Panels as a CircuitPython display. The display object is stored as a PyDOS environment variable (_display).
192+
**matrix.py [width,height,depth,across,down]** - (Circuitpython only) program to initalize connected HUB75 RGB Matrix Panels as a CircuitPython display. The display object is stored as a PyDOS environment variable (_display).
193193

194194
Parameters:
195195
width - base width of a single RGB matrix tile
@@ -200,7 +200,7 @@ down - the number of tiles connected down the matrix display
200200

201201
If the parameters are omitted or not properly formatted, the program will prompt for each of the values.
202202

203-
**Playimage.py [filename]** - (requires the adafruit_imageload library installed in the /lib folder) program to display .bmp, .jpg, .gif or .png image files. If the program is loaded from PyDOS it attempts to determine the appropriate display configuration from the PyDOS environment, otherwise several display options are supported and selected depending on the existence of BOARD.Display or locally installed display libraries.
203+
**Playimage.py [filename]** - (Circuitpython only, requires the adafruit_imageload library installed in the /lib folder) program to display .bmp, .jpg, .gif or .png image files. If the program is loaded from PyDOS it attempts to determine the appropriate display configuration from the PyDOS environment, otherwise several display options are supported and selected depending on the existence of BOARD.Display or locally installed display libraries.
204204

205205
**reboot.py** - performs a soft reboot (Micropython requires a Ctrl-D to complete)
206206

@@ -327,7 +327,7 @@ At the REPL prompt type "**import PyDOS**" to start PyDOS. From PyDOS type **set
327327

328328
Once the **setup.bat** script has been run if you have more files to copy to the microcontroller (PyBasic for example) or you want to run **circup**, you will need to give the host computer read/write access to the mounted microcontroller drive. This is done by typing **"fs ro"** at the PyDOS prompt and then power cycling the board.
329329

330-
After running circuip or deleting/copying files using the Host computer, when you want to run PyDOS normally again, edit the **boot.py** file in the root folder of the mounted microcontroller drive (usually CIRCUITPY) and change the line that reads:
330+
After running **circup** or deleting/copying files using the Host computer, when you want to run PyDOS normally again, edit the **boot.py** file in the root folder of the mounted microcontroller drive (usually CIRCUITPY) and change the line that reads:
331331

332332
storage.remount("/",True)
333333

@@ -337,6 +337,18 @@ to:
337337

338338
and then powercycle the board once again.
339339

340+
It is recommended that once the **setup.bat** script has been run, **circup** be run on your host computer, in order to make sure the libraries are updated and in sync with the version of CircuitPython on your microcontroller board.
341+
342+
Instructions on installing and using **circup** can be found [here](https://learn.adafruit.com/keep-your-circuitpython-libraries-on-devices-up-to-date-with-circup/overview)
343+
344+
On your host PC, you should run:
345+
**circup update** (if you are conected to the board via a USB cable)
346+
**circup --host ip-address --password CIRCUITPY_WEB_API_PASSWORD update** (for wifi enabled boards)
347+
On your microcontroller, you can use the **setenv.py** PyDOS program to set or see your current CIRCUITPY_WEB_API_PASSWORD.
348+
349+
You can also run commands like:
350+
**circup install adafruit_imageload** to install any adafruit libraries you need
351+
340352
--------------------------------------------------------------------------------------------------------------------
341353
**Building custom Micropython firmware**
342354

File renamed without changes.
File renamed without changes.

virtrepl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
print("*ERROR* Exception:",str(__err))
3131
__cmd = ""
3232
else:
33-
# Pre 9.0.0 alpha 7 code (single line statments only)
33+
# Pre 9.0.0 alpha 7 code or Micropython (single line statments only)
3434
__line = input("=>> ")
3535
if __line.lower() == 'exit':
3636
break

0 commit comments

Comments
 (0)