Add 'CARDPUTER CircuitPython/projects/README.md'

This commit is contained in:
2025-03-07 13:25:42 +00:00
parent 48c3a79d3a
commit fc2757aa47

View File

@@ -0,0 +1,19 @@
# Projects
These projects should all run on the Cardputer in CircuitPython. Extra libraries may be needed from the CircuitPython library bundle - import errors will tell you what you need :P
When using a file in CircuitPython, it needs to be renamed to "code.py" as this is what cPy will look for when running.
## Text Editor
A mostly functional, but incredibly basic text editor.
### Features
- Cursor-less text editing (remember how Minecraft book writing used to feel like? Yeah. That.)
- Save file - You have to type in the filename and extension yourself. The good news is the "." key works on this screen.
- Open file - You can select from a list of files in the SD card. Still no line scrolling here, so only the first 7 files will be visible
- If you open a file, the save menu conveniently fills in the filename for you, so you don't have to write it again to re-save.
### Dependencies
- Keyboard library from this repository
- adafruit_display_text from the bundle
### Issues
- No line scrolling. Once you exceed 7 lines, you're guessing, bud
- No folder support. Selecting folders in the SD card folder will break it.
- There are no confirmation or warning messages. Use with caution and be sure that you aren't using a repeat filename, or it will overwrite the file without warning.