Skip to content

Commit c05d493

Browse files
committed
Saving progress on examples
1 parent 2a8aee2 commit c05d493

File tree

22 files changed

+2272
-1745
lines changed

22 files changed

+2272
-1745
lines changed

examples/Inkplate5V2/Advanced/Communications/Inkplate5V2_Bluetooth_Peripheral_Mode/Inkplate5V2_Bluetooth_Peripheral_Mode.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void setup()
5252
display.begin();
5353

5454
// Init BT communication
55-
if (!SerialBT.begin("Inkplate5"))
55+
if (!SerialBT.begin("Inkplate5V2"))
5656
{
5757
Serial.println("An error occurred initializing Bluetooth");
5858
}

examples/Inkplate5V2/Advanced/Communications/Inkplate5V2_Bluetooth_Serial/Inkplate5V2_Bluetooth_Serial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#endif
2525

2626
// You can change the Bluetooth device name if you want
27-
const char *btDeviceName = "Inkplate5";
27+
const char *btDeviceName = "Inkplate5V2";
2828

2929
// Include Inkplate and BluetoothSerial library to the sketch
3030
#include "BluetoothSerial.h"

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Partial_Update_With_Deep_Sleep/Inkplate5V2_Partial_Update_With_Deep_Sleep.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ void loop()
7575
void createScreen()
7676
{
7777
display.setTextSize(3); // Set font to be scaled up three times
78-
display.setCursor(35, 100);
79-
display.print("Inkplate 5 partial update with deep sleep example");
80-
display.setCursor(200, 250); // Set text cursor @ X = 200, Y = 250
78+
display.setCursor(220, 300);
79+
display.print("Inkplate 5V2 partial update with deep sleep example");
80+
display.setCursor(490, 350); // Set text cursor @ X = 200, Y = 250
8181
display.print("First variable:"); // Write first variable to buffer
8282
display.print(counter, DEC);
83-
display.setCursor(200, 290); // Set text cursor @ X = 200, Y = 290
83+
display.setCursor(490, 390); // Set text cursor @ X = 200, Y = 290
8484
display.print("Second variable:"); // Write second variable to buffer (use two decimals places)
8585
display.print(decimal, 2);
8686
}

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_RTC_Alarm_With_Deep_Sleep/Inkplate5V2_RTC_Alarm_With_Deep_Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void loop()
6868
void printCurrentTime()
6969
{
7070
// Set cursor and font size
71-
display.setCursor(100, 260);
71+
display.setCursor(385, 360);
7272
display.setTextSize(3);
7373

7474
// Get data from the RTC

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Simple_Deep_Sleep/Inkplate5V2_Simple_Deep_Sleep.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ void setup()
3939
{
4040
display.begin(); // Init Inkplate library (you should call this function ONLY ONCE)
4141
display.clearDisplay(); // Clear frame buffer of display
42-
display.drawImage(pictures[slide], 0, 0, E_INK_WIDTH,
43-
E_INK_HEIGHT); // Display selected picture at location X=0, Y=0. All three pictures have
42+
display.drawImage(pictures[slide], 0, 0, E_INK_WIDTH, E_INK_HEIGHT); // Display selected picture at location X=0, Y=0. All three pictures have
4443
// resolution of 960x540 pixels
4544
display.display(); // Refresh the screen with new picture
4645
slide++; // Update counter for pictures. With this variable, we choose what picture is going to be displayed on

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Simple_Deep_Sleep/picture1.h

Lines changed: 721 additions & 543 deletions
Large diffs are not rendered by default.

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Simple_Deep_Sleep/picture2.h

Lines changed: 720 additions & 542 deletions
Large diffs are not rendered by default.

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Simple_Deep_Sleep/picture3.h

Lines changed: 721 additions & 543 deletions
Large diffs are not rendered by default.

examples/Inkplate5V2/Advanced/Other/Inkplate5V2_EEPROM_Usage/Inkplate5V2_EEPROM_Usage.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void setup()
4747

4848
display.println("Reading data from EEPROM:\n"); // Print message
4949
display.partialUpdate(); // Use partial updates for refreshing the display
50-
display.setTextSize(2); // Use smaller text so everything can fit on display
50+
display.setTextSize(3); // Use smaller text so everything can fit on display
5151
printEEPROM(); // Read data from EEPROM and display it on screen
5252
}
5353

examples/Inkplate5V2/Advanced/Other/Inkplate5V2_Read_Battery_Voltage/Inkplate5V2_Read_Battery_Voltage.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void setup()
2626
{
2727
display.begin(); // Init Inkplate library (you should call this function ONLY ONCE)
2828
display.clearDisplay(); // Clear frame buffer of display
29-
display.setTextSize(2); // Scale text to be two times bigger then original (5x7 px)
29+
display.setTextSize(3); // Scale text to be three times bigger then original (5x7 px)
3030
display.setTextColor(BLACK, WHITE); // Set text color to black and background color to white
3131
}
3232

@@ -35,7 +35,7 @@ void loop()
3535
float voltage = display.readBattery(); // Read battery voltage
3636
display.clearDisplay(); // Clear everything in frame buffer of e-paper display
3737
display.drawImage(battSymbol, 100, 100, 106, 45, BLACK); // Draw battery symbol at position X=100 Y=100
38-
display.setCursor(210, 120);
38+
display.setCursor(230, 110);
3939
display.print(voltage, 2); // Print battery voltage
4040
display.print('V');
4141
display.display(); // Send everything to display (refresh the screen)

0 commit comments

Comments
 (0)