Compare commits

..

No commits in common. "365d242339055279d072c4430854da45754e7a04" and "2c40baec589e22fec9351366a2a1213d559e3f72" have entirely different histories.

7 changed files with 15 additions and 16 deletions

View file

@ -1 +1 @@
0.0.55
0.0.54

View file

@ -39,7 +39,7 @@ pathlib.Path("dist/pico-main.py").write_text(pathlib.Path("pico/main.py").read_t
print("copied pico-main.py")
import zipfile # PM_K-1 CircuitPython drive bundle (download → unzip onto CIRCUITPY)
with zipfile.ZipFile("dist/pm_k1_circuitpy.zip", "w", zipfile.ZIP_DEFLATED) as z:
for f in ("code.py", "programs.json", "font_m.bin", "font_l.bin", "README.md"):
for f in ("code.py", "programs.json", "README.md"):
z.write("pico-cp/" + f, f)
print("zipped pm_k1_circuitpy.zip")
PY

View file

@ -15,10 +15,9 @@ same programstring language as <https://metronome.varasys.io>.
1. **Flash CircuitPython:** hold **BOOTSEL**, plug in, and drop the CircuitPython `.uf2` for your board
onto the `RPIRP2` drive (<https://circuitpython.org/board/raspberry_pi_pico/> — or the Pico 2 / W
build). It reboots and a **`CIRCUITPY`** drive appears.
2. **Copy everything from the bundle** onto `CIRCUITPY` (draganddrop — it's a normal drive now):
2. **Copy the files** onto `CIRCUITPY` (draganddrop — it's a normal drive now):
- `code.py` (this firmware — runs on boot)
- `programs.json` (your grooves)
- `font_m.bin`, `font_l.bin` (the antialiased fonts — kept as files to save RAM)
3. It starts immediately. Editing `programs.json` (or resaving it from the editor) makes CircuitPython
**autoreload** with the new tracks.
@ -40,7 +39,7 @@ Each `prog` is a program string from the web editor. Add/replace entries and sav
## Calibration (flip flags at the top of `code.py`)
- **Red/blue swapped:** flip `MADCTL` between `0x48` (default) and `0x40`.
- **Red/blue swapped:** change `MADCTL = 0x40` to `0x48`.
- **Colours look negative:** toggle `INVERT_COLORS`.
- **Taps land wrong:** set `TOUCH_DEBUG = True`, watch the serial output, then set
`TOUCH_SWAP_XY` / `TOUCH_INVERT_X` / `TOUCH_INVERT_Y`.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.