summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/__pycache__/i2c.cpython-312.pycbin4218 -> 0 bytes
-rw-r--r--bin/display.c5
-rw-r--r--bin/main.py10
-rwxr-xr-xbin/testbin16016 -> 0 bytes
4 files changed, 12 insertions, 3 deletions
diff --git a/bin/__pycache__/i2c.cpython-312.pyc b/bin/__pycache__/i2c.cpython-312.pyc
deleted file mode 100644
index a2ea22c..0000000
--- a/bin/__pycache__/i2c.cpython-312.pyc
+++ /dev/null
Binary files differ
diff --git a/bin/display.c b/bin/display.c
index 51a0873..b960ff1 100644
--- a/bin/display.c
+++ b/bin/display.c
@@ -1,4 +1,7 @@
1#include <gtk/gtk.h> 1#include <gtk/gtk.h>
2#include <stdio.h>
3#include <string.h>
4
2 5
3static void activate(GtkApplication *app, gpointer user_data) { 6static void activate(GtkApplication *app, gpointer user_data) {
4 // Create a new application window 7 // Create a new application window
@@ -24,4 +27,4 @@ int main(int argc, char *argv[]) {
24 g_object_unref(app); 27 g_object_unref(app);
25 28
26 return status; 29 return status;
27} \ No newline at end of file 30}
diff --git a/bin/main.py b/bin/main.py
index 482fde0..17b506d 100644
--- a/bin/main.py
+++ b/bin/main.py
@@ -57,11 +57,17 @@ def recognize_speech():
57 57
58def save_notes(): 58def save_notes():
59 print("Type your notes (type 'stop' to exit):") 59 print("Type your notes (type 'stop' to exit):")
60 print("Type line=1 or line=2 to print something to a specific line")
60 while True: 61 while True:
61 output = input() 62 line = 1
63 output = input(":")
62 if output.lower() in ["stop", "break", "quit", "exit"]: 64 if output.lower() in ["stop", "break", "quit", "exit"]:
63 break 65 break
64 lcd_instance.text(output, 1) 66 if output == "line=1":
67 line = 1
68 elif output == "line=2":
69 line = 2
70 lcd_instance.text(output, line)
65 time.sleep(2) 71 time.sleep(2)
66 72
67 73
diff --git a/bin/test b/bin/test
deleted file mode 100755
index 180427d..0000000
--- a/bin/test
+++ /dev/null
Binary files differ