summaryrefslogtreecommitdiff
path: root/bin/main.py
diff options
context:
space:
mode:
authornasrlol <nsrddyn@gmail.com>2024-11-18 23:10:14 +0100
committernasrlol <nsrddyn@gmail.com>2024-11-18 23:10:14 +0100
commitcc8792b3150f7b7f0a5a297dedd78295d4031c68 (patch)
tree2b8d24c3f195e3d2c71ae04a371c68defdb45c39 /bin/main.py
parentdbf4264109f52fb7d1479d1119e39fddafd952bd (diff)
finished the webpage, and the main code is functioning correctly
Diffstat (limited to 'bin/main.py')
-rw-r--r--bin/main.py10
1 files changed, 8 insertions, 2 deletions
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():
def save_notes():
print("Type your notes (type 'stop' to exit):")
+ print("Type line=1 or line=2 to print something to a specific line")
while True:
- output = input()
+ line = 1
+ output = input(":")
if output.lower() in ["stop", "break", "quit", "exit"]:
break
- lcd_instance.text(output, 1)
+ if output == "line=1":
+ line = 1
+ elif output == "line=2":
+ line = 2
+ lcd_instance.text(output, line)
time.sleep(2)