Commit Graph

548 Commits

Author SHA1 Message Date
Martin Preuss
66be348ecd gui2: added mclayout (matrix layout ordering by column). 2026-04-12 01:31:23 +02:00
Martin Preuss
7d556c0f26 gui2: more work on preparing code sharing for all layout modules. 2026-04-10 00:07:53 +02:00
Martin Preuss
12cdc6c637 gui2: resize item if WIDGET_PACK_FILLED 2026-04-09 00:00:36 +02:00
Martin Preuss
b81d798008 gui2: more work on new layout module, started working on hlayout2. 2026-04-08 23:54:31 +02:00
Martin Preuss
2a5f09e239 gui2: added OBJ_CountDirectChildren 2026-04-08 23:54:05 +02:00
Martin Preuss
9da5f71ce1 gui2: added Widget_GetBorderAndSpacing 2026-04-08 23:53:51 +02:00
Martin Preuss
87c2314c2d avr: started working on another iteration of the layout modules.
This will become a base module for other layout modules (like hlayout,
vlayout and mlayout). All those modules will share the playment code.
2026-04-07 23:57:28 +02:00
Martin Preuss
b00f697582 avr: added MainWindow_GetFirstChildOfContentWidget 2026-04-06 19:01:32 +02:00
Martin Preuss
e5dafccb29 avr: added ValueLabel_SetValue 2026-04-06 19:01:17 +02:00
Martin Preuss
487cd13297 c03, gui2: new GUI now basically works. 2026-04-06 01:45:56 +02:00
Martin Preuss
66bc71b2bd sk6812: minor reorganizing. works now with newer BTF LED stripes. 2026-03-26 21:07:22 +01:00
Martin Preuss
f1d67027fa sk6812: added SetValueType. 2026-03-25 20:46:15 +01:00
Martin Preuss
0c810a7842 sk6812: read and write led strip type. 2026-03-25 20:45:50 +01:00
Martin Preuss
d2cbca9d5a use a default repeat value (setValue will be removed from LED_Simple module). 2026-03-24 23:15:16 +01:00
Martin Preuss
67be74d2ac avr: move timing control from ma_light to sk6812.
This allows for better control over the LED strip. We can now trigger the
LED strip externally (e.g. by setting a new RGBW value).
2026-03-24 23:13:28 +01:00
Martin Preuss
e23bfde746 led_simple: improved module, added repeats, id mode and activity mode.
modes:
- heartbeat mode (as before)
- id mode (slowly blink for 30s after receiving PING)
- activity mode (short blink to signal e.g. network activity)
The latter two modes fallback to heartbeat mode after some time.
2026-03-24 18:18:02 +01:00
Martin Preuss
07a6c5a540 gui2: finalized mlayout module. 2026-03-23 23:20:13 +01:00
Martin Preuss
0015a0a06c gui2: mlayout works now (in column mode)! 2026-03-23 23:15:38 +01:00
Martin Preuss
8eed88394f gui2: X-layout works now! 2026-03-23 22:20:11 +01:00
Martin Preuss
b9e40f236e gui2: bug hunt... 2026-03-23 00:22:45 +01:00
Martin Preuss
a727d600f1 label: enabled border drawing. 2026-03-23 00:21:25 +01:00
Martin Preuss
e7c195e635 gui2: clear CF on error in input. 2026-03-23 00:21:05 +01:00
Martin Preuss
30be5b3681 gui2: fixed an important bug (was decrementing r25!) 2026-03-23 00:20:36 +01:00
Martin Preuss
bd5a51b4d2 mlayout: works for first row now (still WIP!) 2026-03-21 13:09:06 +01:00
Martin Preuss
4eac2a105e gui2: added OBJ_SkipObjects 2026-03-21 08:29:18 +01:00
Martin Preuss
69a16c4c0f gui2: use bigcall (code becomes too large for rjmp/rcall). 2026-03-21 08:29:06 +01:00
Martin Preuss
5e3a8f444a gui2: 2nd try for a matrix layout. 2026-03-21 08:28:23 +01:00
Martin Preuss
722528f4e1 gui2: more work on mlayout (first try) 2026-03-21 08:27:52 +01:00
Martin Preuss
2878d3aaa2 sk6812: prepare use of multiple timing types.
timing is very tight so we need an extra routine per timing type for
sending a byte to the led strip.
2026-03-21 00:40:03 +01:00
Martin Preuss
a0e73d5788 sk6812: fixed timing issues (works again with BTF-Lighting LED strips). 2026-03-20 22:30:41 +01:00
Martin Preuss
d877508e85 avr: share code (use Main_HandleValueMsg) 2026-03-20 22:28:58 +01:00
Martin Preuss
1f801c41a1 gui2: started working on matrix layout
this will later become also the base class for new implementations of
HLayout and VLayout to simplify things.
2026-03-18 01:02:11 +01:00
Martin Preuss
21b8c1fe56 minor formatting 2026-03-18 01:01:27 +01:00
Martin Preuss
3bf327bb2d avr: fixed calls for 64K ATmega. 2026-03-17 00:01:23 +01:00
Martin Preuss
8085043ef6 extended memstats message and handling. 2026-03-17 00:00:38 +01:00
Martin Preuss
1112a1bf6f avr: remove debug code (need the space) 2026-03-16 22:43:57 +01:00
Martin Preuss
f5c27d7174 lcd: remove debug code. 2026-03-16 22:43:32 +01:00
Martin Preuss
4140e2dc52 fixed typo 2026-03-15 20:25:35 +01:00
Martin Preuss
6d3a27977a avr: added time message 2026-03-15 20:24:48 +01:00
Martin Preuss
6c83991df7 avr: added NETMSG_Debug_Write2 (sends bytes from a buffer) 2026-03-15 20:23:49 +01:00
Martin Preuss
393df322f0 avr: added rtc module for ds3231 2026-03-15 20:20:06 +01:00
Martin Preuss
ce4a4afc68 minor formatting. 2026-03-12 16:28:43 +01:00
Martin Preuss
9d92564b2e gui2: fixed an important bug. 2026-03-12 16:28:28 +01:00
Martin Preuss
2f570ea110 gui2: more work. SensorWatch doesn't fully work, yet (also red background). 2026-03-12 00:37:44 +01:00
Martin Preuss
092c667291 gui2: fixed more bugs in layout code. Now basically works! 2026-03-11 19:53:19 +01:00
Martin Preuss
51cedae0cb gui2: fixed problems with layouts
need to look into spread mode, too.
2026-03-11 00:32:08 +01:00
Martin Preuss
282cd738b4 gui2: started working on SensorWatch for GUI2. Works so far. 2026-03-10 00:15:52 +01:00
Martin Preuss
d3f24284ca gui2: added widgets. 2026-03-09 21:06:16 +01:00
Martin Preuss
2827f4e063 gui2: added generic button class
this gives child elements a button behavior.
2026-03-09 18:20:51 +01:00
Martin Preuss
f5e19ac0a1 gui2: removed debug code. 2026-03-09 14:03:40 +01:00