summaryrefslogtreecommitdiff
path: root/firmware/s1224/include/display.h
diff options
context:
space:
mode:
authorinfo@mode42.com <info@mode42.com>2026-08-07 18:09:58 +0000
committerinfo@mode42.com <info@mode42.com>2026-08-07 18:09:58 +0000
commita7362dc14bca1233eb34b41aefebe9cfb22684ac (patch)
treef727c87f92aeb503038deeecc24d3e074dc0197c /firmware/s1224/include/display.h
Initial pushmain
Diffstat (limited to 'firmware/s1224/include/display.h')
-rw-r--r--firmware/s1224/include/display.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/s1224/include/display.h b/firmware/s1224/include/display.h
new file mode 100644
index 0000000..67b32ce
--- /dev/null
+++ b/firmware/s1224/include/display.h
@@ -0,0 +1,17 @@
+#ifndef S1224_DISPLAY_H
+#define S1224_DISPLAY_H
+
+#include <stdbool.h>
+
+/**
+ * I2C HD44780 via PCF8574 backpack (0x27/0x3F). USB always logs.
+ * Shows Power/ready, Signal, Packet from INI texts.
+ */
+void display_init(void);
+bool display_present(void);
+/** Refresh LCD from current status + sense (uses INI texts). */
+void display_update(void);
+/** Legacy single-line push (also used before full UI ready). */
+void display_show(const char *line);
+
+#endif
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com