2026-08-09 15:49:58 +02:00
|
|
|
# M5Stack Tab5 Sorting Lab
|
|
|
|
|
|
|
|
|
|
Touch-controlled visual guide to Bubble, Insertion, Selection, Shell, Merge,
|
|
|
|
|
Quick, Heap, and Radix sort. Each algorithm animates the same 48 shuffled
|
|
|
|
|
values and reports comparisons, moves, and elapsed time. **RUN ALL 8** ends
|
|
|
|
|
with a fair operation-count chart.
|
|
|
|
|
|
|
|
|
|
Controls: **Pause/Resume**, **Redo**, **Next**, **Run All 8**, and
|
2026-08-09 18:21:04 +02:00
|
|
|
**Algorithm Menu**. **No Visual** reruns the selected algorithm without any
|
|
|
|
|
animation, touch polling, or intentional delay during the timed section and
|
|
|
|
|
reports its duration with microsecond-derived precision. The bar animation is
|
|
|
|
|
rendered through a PSRAM-backed canvas for tear-free updates. Build with
|
|
|
|
|
`pio run`, upload with `pio run -t upload`.
|
2026-08-09 16:49:20 +02:00
|
|
|
|
|
|
|
|
The PlatformIO platform is pinned to the `54.03.21-2` maintenance release,
|
|
|
|
|
which includes esptool 5.0.2 and avoids the Click API error present with the
|
|
|
|
|
original `54.03.21` package on some Windows installations.
|