diff options
Diffstat (limited to 'bin/main.py')
| -rw-r--r-- | bin/main.py | 10 |
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(): | |||
| 57 | 57 | ||
| 58 | def save_notes(): | 58 | def 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 | ||
