-
Notifications
You must be signed in to change notification settings - Fork 11
Docs led matrix painter #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs led matrix painter #26
Conversation
TaddyHC
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few suggestion for you consideration, lgtm!
Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com>
Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com>
Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com>
|
Is it intended to let |
@dsammaruga can you check the latest version? Thanks. |
|
LGTM for the backend description. Requesting review for the frontend description at @Matteo-it |
* Led matrix UI improvement * FEAT: Implement styling and reordering for Transform container buttons * Update UI * Add tools options * Update progressbar UI * Update progressbar UI * Update matrix UI * Update matrix UI * Update anomation ui * svg update * add options for frames * responsive fixs * Invert fix * alpha 1 * Update frames UI * Update animation UI * Update animation UI * Update prev/next * clear comments * remove hardcoded svg * Update icons, remove useless files, remove stop button * Docs led matrix painter (#26) * docs: update bedtime story teller (#20) * Update README example * Revert "docs: update bedtime story teller (#20)" This reverts commit 9491c29. * Update documentation, add thumbnail * Update README * Update README * Optimize thumbnail * Update examples/led-matrix-painter/README.md Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com> * Update examples/led-matrix-painter/README.md Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com> * Update examples/led-matrix-painter/README.md Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com> * Update README AppFrame class description * Update README understanding code section * Fix thumbnail --------- Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com> --------- Co-authored-by: Ernesto Voltaggio <92443068+91volt@users.noreply.github.com> Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com>
| - **`ui.expose_api('POST', '/load_frame', load_frame)`**: Loads a frame from the database by ID or retrieves the last edited frame. | ||
| 3. **Draw Frames** | ||
| - **Paint:** Click any cell in the central grid to turn it on. | ||
| - **Adjust Brightness:** Click an active cell again (or hover/wait) to open the floating slider and set the brightness level (0-7). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| - **`ui.expose_api('GET', '/list_frames', list_frames)`**: Returns all saved frames for display in the sidebar. | ||
| 4. **Use the Design Tools** | ||
| - **Transform:** Use the **Tools** panel on the left to **Flip Vertically/Horizontally**, **Rotate 180°**, **Invert Matrix** (negative), or **Invert Draw** (brightness). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **Create:** Click the **+** button to add a new empty frame. | ||
| - **Edit Details:** Assign a **Name** and **Duration** (in milliseconds) for each frame using the inputs above the frame list. | ||
| - **Reorder:** Drag and drop frame thumbnails to change their sequence. | ||
| - **Load/Delete:** Use the **Load** and **Del** buttons on each thumbnail to switch between frames or remove them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no longer a Load button. Now, frames are selected with a simple click—the clicked frame becomes the selected frame and will be displayed in the matrix.
* Replace SineGenerator with WaveGenerator Brick in Theremin (#8) * Mascot Jump Game Example Addition (#7) * Add Bedtime story teller example (#15) * Mascot Jump Game Update UI (#17) * Add Object Hunting example documentation (#18) * Update Theremin Simulator example documentation (#16) * Add led-matrix-painter (#5) * Docs: update bedtime story teller (#20) * Fan vibration monitoring UI (#19) * Vibration Anomaly Detection Example Documentation (#22) * Led matrix UI improvement (#24) * Docs led matrix painter (#26) --------- Co-authored-by: Dario Sammaruga <48221340+BeanRepo@users.noreply.github.com> Co-authored-by: Dario Sammaruga <d.sammaruga@ext.arduino.cc> Co-authored-by: TaddyHC <94547080+TaddyHC@users.noreply.github.com> Co-authored-by: Stefano Torneo <s.torneo@arduino.cc> Co-authored-by: Matteo Marsala <matteo.marsala92@gmail.com> Co-authored-by: Ernesto Voltaggio <92443068+91volt@users.noreply.github.com> Co-authored-by: Christopher Méndez <49886387+mcmchris@users.noreply.github.com> Co-authored-by: Stefano Torneo <121802192+stefanotorneo@users.noreply.github.com>


Summary
This PR updates the documentation for the LED Matrix Painter example to reflect its capabilities, covering database persistence, animation sequencing, and C++ code generation.
What changed
Documentation:
main.py(e.g.,/persist_frame,/play_animation), theSQLStoredatabase initialization, and the auto-persist logic in the frontend.Assets:
thumbnail.pngto theassets/docs_assets/folder to provide a visual preview of the application interface.