From d804efb7bae1a9976142cf1bd7dda71e72cd37c8 Mon Sep 17 00:00:00 2001 From: Tony Yang Date: Wed, 3 May 2023 15:38:12 +0800 Subject: [PATCH] feat: help message --- led_control.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/led_control.py b/led_control.py index b8eae7f..2783f5b 100644 --- a/led_control.py +++ b/led_control.py @@ -170,6 +170,11 @@ async def main(loop): print(f"Upload request {filename} sent!") elif command == "q": break + else: + print("Commands:") + print("p: take picture and upload to S3") + print("h: help message") + print("q: quit") loop.stop()