Commit Graph

428 Commits

Author SHA1 Message Date
Martin Preuss
64bc199753 avr: added ValueLabel. 2026-01-18 14:27:01 +01:00
Martin Preuss
73f9273014 avr: added routines to write text from SDRAM 2026-01-18 14:26:46 +01:00
Martin Preuss
b1693168c4 fixed apidoc. 2026-01-18 14:26:11 +01:00
Martin Preuss
31cce1a609 remove implemented stuff from TODO. 2026-01-18 01:00:31 +01:00
Martin Preuss
c2d1234e00 avr: most stuff for SensorWatch implemented. 2026-01-18 00:49:08 +01:00
Martin Preuss
0443032de7 avr: added widget SensorWatch
shows a pictogram for a sensor and changes background color according to
values received from a given sensor.
2026-01-18 00:36:22 +01:00
Martin Preuss
3009e9d0d0 TODO: RLE implemented. 2026-01-17 17:16:40 +01:00
Martin Preuss
a52d7dd783 avr: added Widget_OnDrawNop 2026-01-17 17:15:48 +01:00
Martin Preuss
c2489e1866 avr: more work on gui2
- decreased complexitiy by removing guicntl
- changed fonts to allow for storing bitmaps in ressource segment
- add fonts to ressources for display node c03
- added some safety features (check pointers, add magic field to objects etc)
- moved style.asm to device folder
2026-01-17 15:23:17 +01:00
Martin Preuss
20189eb1eb added local TODO 2026-01-16 16:45:31 +01:00
Martin Preuss
48d0a3f41f added README 2026-01-16 16:45:04 +01:00
Martin Preuss
283374b5cd avr: add support for run-length-encoded images, converted existing images
saves much ressource space especially with larger images!
2026-01-16 16:42:49 +01:00
Martin Preuss
99739325df avr: take all parents pos into account when calculating abs pos
allows for positions relative to parent in widget tables.
2026-01-15 17:27:56 +01:00
Martin Preuss
55292bddf1 avr: simplify handling of object tree
- set CFLAG if pointer valid, cleared otherwise
- check for inbound NULL pointer
2026-01-15 17:26:54 +01:00
Martin Preuss
37689fbc1d gui2: more work, added image viewer. 2026-01-14 22:57:14 +01:00
Martin Preuss
99c58d13e2 add ressources, use signals for GuiApp.
makes it easier to extend.
2026-01-14 21:19:46 +01:00
Martin Preuss
10c3f3c40d more work on images on ili9341
- reading images from predefined ressources (stored at 0x8000+) works
- drawing IDX2 images within widgets works
- added some image ressources in IDX2 format
2026-01-14 00:13:02 +01:00
Martin Preuss
edb8e7b859 texts inside labels now work. 2026-01-13 00:00:19 +01:00
Martin Preuss
caa2a92722 another GUI approach, this time more generic. 2026-01-12 22:47:08 +01:00
Martin Preuss
00c607a65b sk6812: no longer set state when setting color. 2025-12-24 22:14:57 +01:00
Martin Preuss
636fc026aa more work on pages and ressources. 2025-12-15 21:12:51 +01:00
Martin Preuss
dbba5617c7 avr: add touch handler routine to button module. 2025-11-22 14:10:06 +01:00
Martin Preuss
d8058dc711 avr: added 12x16 font, remove unneeded chars from fonts. 2025-11-18 23:03:00 +01:00
Martin Preuss
db6d28b869 control layout of windows via style.asm 2025-11-18 23:02:07 +01:00
Martin Preuss
b520ccb165 avr: fixed button code. 2025-11-18 19:14:40 +01:00
Martin Preuss
059654b16f smaller button routines. 2025-11-17 23:45:10 +01:00
Martin Preuss
f6e852be74 started working on static gui 2025-11-17 23:03:56 +01:00
Martin Preuss
ceaf0e0ee5 started working on buttons. 2025-11-17 23:02:55 +01:00
Martin Preuss
35557d7b22 renamed some vars. 2025-11-17 23:02:39 +01:00
Martin Preuss
fbcfd65e7f more work on dialogs. 2025-11-17 23:01:26 +01:00
Martin Preuss
520f371560 com2w: added support for pin change interrupts on atmega644P 2025-11-17 23:00:40 +01:00
Martin Preuss
049d651fec avr: improved modules ILI9341 and XPT2046. 2025-11-10 22:29:37 +01:00
Martin Preuss
ece4fe824a xpt2046 now basically works. 2025-11-10 19:33:40 +01:00
Martin Preuss
03f794b253 xpt2046: reading values works. 2025-11-10 15:55:31 +01:00
Martin Preuss
29f74c0eae avr: started working on xpt2046 module. 2025-11-10 14:49:23 +01:00
Martin Preuss
9300e515e7 more work on c02 and lcd drivers. 2025-11-07 17:04:08 +01:00
Martin Preuss
5b72686904 avr: added titled windows 2025-11-03 21:02:25 +01:00
Martin Preuss
e58e9b846c avr: work on simple GUI module to be used by node c02. 2025-11-03 17:23:40 +01:00
Martin Preuss
0fa4c6c8b5 sk6812: set state to on when setting mode to auto.
need to have a better solution for this...
2025-10-24 16:39:53 +02:00
Martin Preuss
9caf468b86 avr: daily clear more stats. 2025-10-23 20:59:42 +02:00
Martin Preuss
81e9078b80 avr: add MODE variable to sk6812 module.
this allows for better control over led strips.

Modes:
- AUTO: allow other modules to switch LED strip
- OFF:  force LED strip off
- ON:   force LED strip on
2025-10-01 23:24:50 +02:00
Martin Preuss
0f712717d8 sk6812: added readme. 2025-09-22 22:48:37 +02:00
Martin Preuss
68829f6428 add comments. 2025-09-22 20:26:30 +02:00
Martin Preuss
666e7690a6 avr: improved module SK6812 and app MA_LIGHT.
- RGBW values are now only set by SK6812
- MA_LIGHT can now also take into account a brightness value reported
  by any node to switch on light only after dawn
2025-09-22 15:09:45 +02:00
Martin Preuss
1c8e9134bf com2wi2: added some comments 2025-09-12 15:07:14 +02:00
Martin Preuss
3ea7170473 tried early reading ports (still doesn't work for 2nd port). 2025-09-09 01:01:43 +02:00
Martin Preuss
0dc9f0330c increase irq frequency (now every 10us). 2025-09-09 00:47:24 +02:00
Martin Preuss
a81acf7b19 com2wi2: test with two interfaces. 2025-09-08 23:34:38 +02:00
Martin Preuss
d7e4ee4cca fixed bugs on big systems. 2025-09-08 22:06:09 +02:00
Martin Preuss
40282486f6 added com2wi2 (will become com2wi later). 2025-09-08 22:05:28 +02:00