From 6323d477c4a3b77392fca829b57471057ff1361e Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 26 Aug 2023 15:02:37 +0100 Subject: [PATCH] Update README.md --- Clock/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Clock/README.md b/Clock/README.md index 4438918..6ac0440 100644 --- a/Clock/README.md +++ b/Clock/README.md @@ -10,6 +10,16 @@ ![Hardware](https://github.com/oddwires/RP2040/blob/master/Clock/Images/IMG_1215.JPG) +* Supported commands + * ? - Help + * V - Version info + * S - Set time: Notation: HH:MM:SS or HH,MM,SS
+HH can be either 12 or 24 hour notation. e.g. '03:00:00' is the same as '15:00:00'
+Delimiter can be either ':' or ','. e.g. '15:00:00' is the same as '15,00,00'
+MM is in the range 0<=MM<=59
+SS is in the range 0<=SS<=59
+Leading zeros can be ommited. e.g. '1:2:3' is the same as '01:02:03'
+Trailing parameters can be ommited, and will be set to zero. e.g. '12:15' is the same as '12:15:00' and '12' is the same as '12:00:00' + * Limitations: * USB serial requires Windows (10 or later) - * The code is working, but is a cut down version of the Function Generator code. This has resulted in some redundant code + variables that need tidying up.