Skip to content

Commit 41096d9

Browse files
committed
Fixed some typos
1 parent 01552e7 commit 41096d9

File tree

30 files changed

+54
-52
lines changed

30 files changed

+54
-52
lines changed

examples/Inkplate10/Advanced/RTC/Inkplate10_RTC_Alarm/Inkplate10_RTC_Alarm.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ uint8_t hour = 12;
3232
uint8_t minutes = 50;
3333
uint8_t seconds = 30;
3434

35-
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 menas Monday, ...)
35+
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 means Monday, ...)
3636
uint8_t weekday = 1;
3737
uint8_t day = 20;
3838
uint8_t month = 2;

examples/Inkplate10/Advanced/RTC/Inkplate10_RTC_Simple/Inkplate10_RTC_Simple.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ uint8_t hour = 12;
3232
uint8_t minutes = 50;
3333
uint8_t seconds = 30;
3434

35-
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 menas Monday, ...)
35+
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 means Monday, ...)
3636
uint8_t weekday = 4;
3737
uint8_t day = 11;
3838
uint8_t month = 11;

examples/Inkplate10/Advanced/RTC/Inkplate10_RTC_Timer/Inkplate10_RTC_Timer.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ uint8_t hour = 12;
2828
uint8_t minutes = 50;
2929
uint8_t seconds = 30;
3030

31-
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 menas Monday, ...)
31+
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 means Monday, ...)
3232
uint8_t weekday = 4;
3333
uint8_t day = 11;
3434
uint8_t month = 11;
@@ -44,7 +44,7 @@ void setup()
4444
display.display(); // Put clear image on display
4545
display.setTextSize(5); // Set text to be 5 times bigger than classic 5x7 px text
4646

47-
pinMode(39, INPUT_PULLUP);
47+
pinMode(39, INPUT_PULLUP); // Set RTC INT pin on ESP32 GPIO39 as input with pullup resistor enabled
4848

4949
display.rtcSetTime(hour, minutes, seconds); // Send time to RTC
5050
display.rtcSetDate(weekday, day, month, year); // Send date to RTC

examples/Inkplate10/Projects/Inkplate10_Mandelbrot_Set/Inkplate10_Mandelbrot_Set.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
Inkplate display(INKPLATE_1BIT);
2525

26-
// Takes a long time to render, cca 3 minutes
26+
// Takes a long time to render, approx. 3 minutes
2727

2828
// Explore different positions to draw
2929
// Some interesting ones can be found here http://www.cuug.ab.ca/dewara/mandelbrot/Mandelbrowser.html

examples/Inkplate4/Advanced/Communication/Inkplate4_Bluetooth_Serial/Inkplate4_Bluetooth_Serial.ino

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ void setup()
5555
// Bluetooth started successfully, print the messages on the screen
5656
Serial.println("The device started, now you can pair it with Bluetooth and send messages");
5757
}
58-
59-
// Init serial communication
60-
Serial.begin(115200);
6158
}
6259

6360
void loop()

examples/Inkplate4/Advanced/DeepSleep/Inkplate4_RTC_Alarm_With_Deep_Sleep/Inkplate4_RTC_Alarm_With_Deep_Sleep.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ void setup()
5454
// Enable wakup from deep sleep on gpio 39 where RTC interrupt is connected
5555
esp_sleep_enable_ext0_wakeup(GPIO_NUM_39, 0);
5656

57-
58-
5957
// Put ESP32 into deep sleep. Program stops here.
6058
esp_deep_sleep_start();
6159
}

examples/Inkplate4/Advanced/DeepSleep/Inkplate4_Simple_Deep_Sleep/Inkplate4_Simple_Deep_Sleep.ino

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Inkplate will wake every 20 seconds change content on screen.
1111
1212
NOTE: Because we are using deep sleep, everytime the board wakes up, it starts program from begining.
13-
Also, the whole content from RAM gets erased. You can store data that don't wanna lose in the RTC
13+
Also, the whole content from RAM gets erased. You can store data that don't wanna lose in the RTC
1414
memory by adding RTC_DATA_ATTR before the variable name like the variable "slide" below.
1515
1616
Want to learn more about Inkplate? Visit www.inkplate.io
@@ -24,15 +24,16 @@
2424
#endif
2525

2626
// Include Inkplate library to the sketch
27-
#include "Inkplate.h"
27+
#include "Inkplate.h"
2828

2929
// Include .h files of 3 pictures. All three pictures were converted using Inkplate Image Converter
30-
#include "picture1.h"
30+
#include "picture1.h"
3131
#include "picture2.h"
3232
#include "picture3.h"
3333

34-
// This array of pinters holds address of every picture in the memory, so we can easly select it by selecting index in array
35-
const uint8_t *pictures[] = {pic1, pic2, pic3};
34+
// This array of pinters holds address of every picture in the memory, so we can easly select it by selecting index in
35+
// array
36+
const uint8_t *pictures[] = {pic1, pic2, pic3};
3637

3738
#define uS_TO_S_FACTOR 1000000 // Conversion factor for micro seconds to seconds
3839
#define TIME_TO_SLEEP 20 // How long ESP32 will be in deep sleep (in seconds)
@@ -56,10 +57,10 @@ void setup()
5657
slide = 0; // We don't have more than 3 images, so roll back to zero
5758

5859
// Activate wake-up timer -- wake up after 20s here
59-
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
60+
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
6061

6162
// Put ESP32 into deep sleep. Program stops here.
62-
esp_deep_sleep_start();
63+
esp_deep_sleep_start();
6364
}
6465

6566
void loop()

examples/Inkplate4/Advanced/RTC/Inkplate4_RTC_Alarm/Inkplate4_RTC_Alarm.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ uint8_t hours = 12;
3030
uint8_t minutes = 50;
3131
uint8_t seconds = 30;
3232

33-
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 menas Monday, ...)
33+
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 means Monday, ...)
3434
uint8_t weekday = 4;
3535
uint8_t day = 5;
3636
uint8_t month = 4;

examples/Inkplate4/Advanced/RTC/Inkplate4_RTC_Simple/Inkplate4_RTC_Simple.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ uint8_t hours = 8;
2929
uint8_t minutes = 25;
3030
uint8_t seconds = 0;
3131

32-
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 menas Monday, ...)
32+
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 means Monday, ...)
3333
uint8_t weekday = 4;
3434
uint8_t day = 5;
3535
uint8_t month = 4;

examples/Inkplate4/Advanced/RTC/Inkplate4_RTC_Timer/Inkplate4_RTC_Timer.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ uint8_t hours = 12;
2727
uint8_t minutes = 50;
2828
uint8_t seconds = 30;
2929

30-
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 menas Monday, ...)
30+
// Set date and weekday (NOTE: In weekdays 0 means Sunday, 1 means Monday, ...)
3131
uint8_t weekday = 2;
3232
uint8_t day = 21;
3333
uint8_t month = 3;
@@ -43,7 +43,7 @@ void setup()
4343
display.display(); // Put clear image on display
4444
display.setTextSize(2); // Set text to be 2 times bigger than classic 5x7 px text
4545

46-
pinMode(39, INPUT_PULLUP);
46+
pinMode(39, INPUT_PULLUP); // Set RTC INT pin on ESP32 GPIO39 as input with pullup resistor enabled
4747

4848
display.rtcSetTime(hours, minutes, seconds); // Send time to RTC
4949
display.rtcSetDate(weekday, day, month, year); // Send date to RTC

0 commit comments

Comments
 (0)