summaryrefslogtreecommitdiff
path: root/firmware/c1224/include/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/c1224/include/display.h')
-rw-r--r--firmware/c1224/include/display.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/c1224/include/display.h b/firmware/c1224/include/display.h
new file mode 100644
index 0000000..1cd78f1
--- /dev/null
+++ b/firmware/c1224/include/display.h
@@ -0,0 +1,17 @@
+#ifndef C1224_DISPLAY_H
+#define C1224_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