From 5ab8ea21b85bebf3860cf9e955c60d30e7d9ac0e Mon Sep 17 00:00:00 2001 From: Ancyker Date: Tue, 1 Aug 2023 22:09:21 -0400 Subject: [PATCH] =?UTF-8?q?Updated=20Real=E2=80=90Time=20Clock=20(markdown?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Real‐Time-Clock.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Real‐Time-Clock.md b/Real‐Time-Clock.md index ca37d77..88977ab 100644 --- a/Real‐Time-Clock.md +++ b/Real‐Time-Clock.md @@ -44,6 +44,6 @@ When you first flash the firmware to the OSCR it will use the build time of the Before you can set the time you will need to enable the firmware updater. To do this, uncomment the "ENABLE_UPDATER" line in the config and flash the firmware. You can confirm this worked by looking at the console log in the Arduino IDE. When the OSCR is first connected/powered on it will immediately send its hardware version, firmware version, and enabled features over serial. You can verify this further by typing `VERCHK` into the input and pressing enter to get this information. -To check the current time you can use the command `GETTIME` which will cause the OSCR to send the current date/time over serial. To set the time, you will need to know the time value as a UNIX epoch/offset. You can use an [online tool)(https://www.epochconverter.com/) to help you with that. Make sure the timezone is set to UTC unless you are on Linux and entering a local time. Pad it by a few seconds to give you time to type the command. The command is `SETTIME `, such as `SETTIME 1689468590`. This will immediately set the time and return the resulting human-readable date and time. You can do this a few times until the clock is as accurate as you need it. +To check the current time you can use the command `GETTIME` which will cause the OSCR to send the current date/time over serial. To set the time, you will need to know the time value as a UNIX epoch/offset. You can use an [online tool](https://www.epochconverter.com/) to help you with that. Make sure the timezone is set to UTC unless you are on Linux and entering a local time. Pad it by a few seconds to give you time to type the command. The command is `SETTIME `, such as `SETTIME 1689468590`. This will immediately set the time and return the resulting human-readable date and time. You can do this a few times until the clock is as accurate as you need it. Congratulations on your RTC! \ No newline at end of file