diff --git a/content/hardware/02.hero/boards/uno-r4-minima/tutorials/rtc/rtc.md b/content/hardware/02.hero/boards/uno-r4-minima/tutorials/rtc/rtc.md index dc707657ed..7e856a2e9b 100644 --- a/content/hardware/02.hero/boards/uno-r4-minima/tutorials/rtc/rtc.md +++ b/content/hardware/02.hero/boards/uno-r4-minima/tutorials/rtc/rtc.md @@ -25,7 +25,7 @@ The goals of this project are: ## Real-Time Clock (RTC) -The RTC on the UNO R4 Minima can be accessed using the [RTC]() library that is included in the [Renesas]() core. This library allows you to set/get the time as well as using alarms to trigger interrupts. +The RTC on the UNO R4 Minima can be accessed using the [RTC](https://github.com/arduino/ArduinoCore-renesas/tree/main/libraries/RTC) library that is included in the [Renesas](https://github.com/arduino/ArduinoCore-renesas) core. This library allows you to set/get the time as well as using alarms to trigger interrupts. There are many practical examples using an RTC, and the examples provided in this page will help you get started with it. @@ -50,7 +50,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop(){ @@ -75,7 +75,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop(){ @@ -109,7 +109,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop() { @@ -143,7 +143,6 @@ void loop() { To retrieve the Unix timestamp, use the `getUnixTime()` method. -```arduino ```arduino #include "RTC.h" @@ -154,7 +153,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop() { diff --git a/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/rtc/rtc.md b/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/rtc/rtc.md index 2dbf2369e4..86373e9e58 100644 --- a/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/rtc/rtc.md +++ b/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/rtc/rtc.md @@ -52,7 +52,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop(){ @@ -77,7 +77,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop(){ @@ -111,7 +111,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop() { @@ -145,7 +145,6 @@ void loop() { To retrieve the Unix timestamp, use the `getUnixTime()` method. -```arduino ```arduino #include "RTC.h" @@ -156,7 +155,7 @@ void setup() { RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE); - RTC.setTime(startTime) + RTC.setTime(startTime); } void loop() {