-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: Matteo-it/led-matrix-ui
Are you sure you want to change the base?
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!
| The application uses the Router Bridge to communicate between the web interface (running on Linux) and the Arduino sketch (running on the microcontroller), enabling real-time updates to the physical LED matrix. | ||
| Key features include: | ||
| - **Real-time Control:** Drawing on the web grid updates the UNO Q matrix instantly. | ||
| - **8-bit Grayscale:** Support for 8 brightness levels per pixel (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.
| - **8-bit Grayscale:** Support for 8 brightness levels per pixel (0-7). | |
| - **Grayscale Control:** 8 brightness presets (0-7) for intuitive pixel control, with full 8-bit precision (0-255) supported at the hardware level. |
A suggestion 👀 Can be discarded if the original explanation is considered sufficient enough
| def to_c_string(self) -> str: | ||
| c_type = "uint32_t" | ||
| parts = [f"const {c_type} {self.name}[] = {{"] | ||
| # ... logic to format array data ... |
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.
| # ... logic to format array data ... | |
| # Converts pixel brightness data to uint32_t hex format |
A suggestion
|
|
||
| The Python application manages the HTTP API, database operations, and communication with the Arduino. | ||
| 1. **Run the App** | ||
| Launch the App clicking the **Run** button from Arduino App Lab. |
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.
| Launch the App clicking the **Run** button from Arduino App Lab. | |
| Launch the example by clicking the **Run** button from Arduino App Lab. |
A suggestion
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.