Skip to content

Commit 7631edf

Browse files
committed
fix typos
1 parent 1e18ef8 commit 7631edf

File tree

2 files changed

+6
-8
lines changed
  • content/hardware/02.hero/boards
    • uno-r4-minima/tutorials/rtc
    • uno-r4-wifi/tutorials/rtc

2 files changed

+6
-8
lines changed

content/hardware/02.hero/boards/uno-r4-minima/tutorials/rtc/rtc.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void setup() {
7575
7676
RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE);
7777
78-
RTC.setTime(startTime)
78+
RTC.setTime(startTime);
7979
}
8080
8181
void loop(){
@@ -109,7 +109,7 @@ void setup() {
109109
110110
RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE);
111111
112-
RTC.setTime(startTime)
112+
RTC.setTime(startTime);
113113
}
114114
115115
void loop() {
@@ -143,7 +143,6 @@ void loop() {
143143

144144
To retrieve the Unix timestamp, use the `getUnixTime()` method.
145145

146-
```arduino
147146
```arduino
148147
#include "RTC.h"
149148
@@ -154,7 +153,7 @@ void setup() {
154153
155154
RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE);
156155
157-
RTC.setTime(startTime)
156+
RTC.setTime(startTime);
158157
}
159158
160159
void loop() {

content/hardware/02.hero/boards/uno-r4-wifi/tutorials/rtc/rtc.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void setup() {
7777
7878
RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE);
7979
80-
RTC.setTime(startTime)
80+
RTC.setTime(startTime);
8181
}
8282
8383
void loop(){
@@ -111,7 +111,7 @@ void setup() {
111111
112112
RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE);
113113
114-
RTC.setTime(startTime)
114+
RTC.setTime(startTime);
115115
}
116116
117117
void loop() {
@@ -145,7 +145,6 @@ void loop() {
145145

146146
To retrieve the Unix timestamp, use the `getUnixTime()` method.
147147

148-
```arduino
149148
```arduino
150149
#include "RTC.h"
151150
@@ -156,7 +155,7 @@ void setup() {
156155
157156
RTCTime startTime(30, Month::JUNE, 2023, 13, 37, 00, DayOfWeek::WEDNESDAY, SaveLight::SAVING_TIME_ACTIVE);
158157
159-
RTC.setTime(startTime)
158+
RTC.setTime(startTime);
160159
}
161160
162161
void loop() {

0 commit comments

Comments
 (0)