You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
**Check out the demo video at https://www.youtube.com/watch?v=Az_oiq8GE4Y**
7
7
8
8
*Related Repositories:*
9
-
[PyDOS_virtkey](https://github.com/RetiredWizard/PyDOS_virtkeyboard) - The modules needed to add virtual keybaord support to PyDOS
9
+
[PyDOS_virtkey](https://github.com/RetiredWizard/PyDOS_virtkeyboard) - The modules needed to add virtual keyboard support to PyDOS
10
10
[PyDOS_wifi](https://github.com/RetiredWizard/PyDOS_wifi) - Generalized Python based microcontroller WiFi API
11
11
12
12
See the Installation section below to install all the external commands and customize the install for the particular microcontroller you are using. However, **if you just want to launch the shell or have limited flash space, the PyDOS.py program will run standadlone** so you can simply copy **PyDOS.py** to your microcontroller to begin.
@@ -143,11 +143,15 @@ environment variables to the newly booted environment as well as code that resto
143
143
original **code.py**/**main.py** files and causes a second soft reboot returning control to
144
144
PyDOS.
145
145
146
+
**virtrepl.py** - Launches a python REPL that can be run from PyDOS. Type "exit" to close and return to PyDOS.
147
+
146
148
**edlin.py [[path]filename]** - line editor inspired by DOS edlin. Intial program structure of line editor by Joesph Long
147
149
https://github.com/j-osephlong/Python-Text-Editor
148
150
149
151
**edit.py [[path]filename]** - shell to load full screen editor from https://github.com/robert-hh/Micropython-Editor
150
152
153
+
**bounce.py** - Terminal User Interface demo of a bouncing ball. Modified version of bounce by [DuckyPolice](https://github.com/DuckyPolice)
154
+
151
155
**xcopy.py[/S][/Y][/V][path]filename [path][filename]** - a more robust version of the copy command
152
156
- /S Copies specified files from directories and subdirectories, except for empty ones
153
157
- /Y Suppresses prompting to confirm you want to overwrite an existing destination file
@@ -160,7 +164,7 @@ PyDOS.
160
164
161
165
**setdate.py [mm-dd-yy]** - initalizes the real time clock to an entered date
162
166
**settime.py [hh:mm:ss]** - initalizes the real time clock to an entered time
163
-
**ntpdate.py [timzone offset]** (WiFi enabled boards) - sets the time and date using the Internet NTP protocol
167
+
**getdate.py [timzone offset]** (WiFi enabled boards) - sets the time and date from worldtimeapi.org and failing that, uses the Internet NTP protocol
164
168
165
169
**diff.py [filename1,filename2]** - performs a file comparison
166
170
@@ -183,6 +187,8 @@ CircuitPython LCD libraries from https://github.com/dhylands/python_lcd
183
187
**rgbblink.py [rgb led pin number]** - program to blink an onboard neopixel or dotstar
184
188
**rgbrainbow.py [rgb led pin number]** - program to color cycle an onboard neopixel or dotstar
185
189
190
+
**matrix.py** - program to initalize connected HUB75 RGB Matrix Panels as a CircuitPython display. The display object is stored as a PyDOS environment variable (_display)
191
+
186
192
**reboot.py** - performs a soft reboot (Micropython requires a Ctrl-D to complete)
187
193
188
194
**keys.bat** - (Keyboard Featherwing/BBQ Keyboard only) Displays keyboard mappings for hidden keys and functions
@@ -198,6 +204,8 @@ replaced or modified from the host computer so that it contains the following in
198
204
199
205
and then power cycled or hard reset.
200
206
207
+
**setenv.py** - Helper program for adding the WiFi SSID and Password to settings.toml (used by setup.bat).
208
+
201
209
*WiFi enabled boards only*
202
210
**wifi_finance** - Displays the current Nasdaq prices by connecting to a financial website and scraping the information.
203
211
**wifi_weather** - Displays the 7 day forcast from api.weather.gov
@@ -303,7 +311,7 @@ At the REPL prompt type "**import PyDOS**" to start PyDOS. From PyDOS type **set
303
311
304
312
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.
305
313
306
-
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 (usally CIRCUITPY) and change the line that reads:
314
+
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:
0 commit comments