Skip to content

Commit 46f092d

Browse files
committed
Fix factory programming examples
1 parent babc187 commit 46f092d

8 files changed

Lines changed: 23 additions & 21 deletions

File tree

  • examples
    • Inkplate10/Diagnostics/Inkplate10_Factory_Programming_VCOM
    • Inkplate2/Diagnostics/Inkplate2_Factory_Programming
    • Inkplate4TEMPERA/Diagnostics/Inkplate4TEMPERA_Factory_Programming_VCOM
    • Inkplate5V2/Diagnostics/Inkplate5V2_Factory_Programming_VCOM
    • Inkplate6COLOR/Diagnostics/Inkplate6COLOR_Factory_Programming
    • Inkplate6FLICK/Diagnostics/Inkplate6FLICK_Factory_Programming_VCOM
    • Inkplate6/Diagnostics/Inkplate6_Factory_Programming_VCOM

examples/Inkplate10/Diagnostics/Inkplate10_Factory_Programming_VCOM/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ const char sdCardTestStringLength = 100;
44
const char *testString = {"This is some test string..."};
55

66
// Change this to your WiFi
7-
const char *WSSID = {""};
8-
const char *WPASS = {""};
7+
const char *WSSID = {"Soldered-testingPurposes"};
8+
const char *WPASS = {"Testing443"};
99

1010
// Change this to your used slave device
11-
const uint8_t easyCDeviceAddress = 0x76;
11+
const uint8_t easyCDeviceAddress = 0x30;
1212

1313
// Test all peripherals
1414
void testPeripheral()

examples/Inkplate2/Diagnostics/Inkplate2_Factory_Programming/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#include "Wire.h"
33

44
// Change this to your WiFi
5-
const char *WSSID = {""};
6-
const char *WPASS = {""};
5+
const char *WSSID = {"Soldered-testingPurposes"};
6+
const char *WPASS = {"Testing443"};
77

88
// Change this to your used slave device
9-
const uint8_t easyCDeviceAddress = 0x76;
9+
const uint8_t easyCDeviceAddress = 0x30;
1010

1111
// Test all peripherals
1212
void testPeripheral()

examples/Inkplate4TEMPERA/Diagnostics/Inkplate4TEMPERA_Factory_Programming_VCOM/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
const char sdCardTestStringLength = 100;
44
const char *testString = {"This is some test string..."};
55

6-
const char *WSSID = {""};
7-
const char *WPASS = {""};
6+
const char *WSSID = {"Soldered-testingPurposes"};
7+
const char *WPASS = {"Testing443"};
88

99
// Change this to your used slave device
10-
const uint8_t easyCDeviceAddress = 0x76;
10+
const uint8_t easyCDeviceAddress = 0x30;
1111

1212
const int TOUCHSCREEN_TIMEOUT = 30;
1313
const int GESTURE_TIMEOUT = 30;

examples/Inkplate5V2/Diagnostics/Inkplate5V2_Factory_Programming_VCOM/Inkplate5V2_Factory_Programming_VCOM.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ void setup()
201201
memset(commandBuffer, 0, BUFFER_SIZE);
202202

203203
// Print the initial image that remains on the screen
204+
showSplashScreen(vcomVoltage);
204205
}
205206

206207
void loop()

examples/Inkplate5V2/Diagnostics/Inkplate5V2_Factory_Programming_VCOM/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
const char sdCardTestStringLength = 100;
44
const char *testString = {"This is some test string..."};
55

6-
const char *WSSID = {""};
7-
const char *WPASS = {""};
6+
const char *WSSID = {"Soldered-testingPurposes"};
7+
const char *WPASS = {"Testing443"};
88

99
// Change this to your used slave device
10-
const uint8_t easyCDeviceAddress = 0x76;
10+
const uint8_t easyCDeviceAddress = 0x30;
1111

1212
void testPeripheral()
1313
{

examples/Inkplate6/Diagnostics/Inkplate6_Factory_Programming_VCOM/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
const char sdCardTestStringLength = 100;
44
const char *testString = {"This is some test string..."};
55

6-
const char *WSSID = {""};
7-
const char *WPASS = {""};
6+
const char *WSSID = {"Soldered-testingPurposes"};
7+
const char *WPASS = {"Testing443"};
88

99
// Change this to your used slave device
10-
const uint8_t easyCDeviceAddress = 0x76;
10+
const uint8_t easyCDeviceAddress = 0x30;
1111

1212
void testPeripheral()
1313
{

examples/Inkplate6COLOR/Diagnostics/Inkplate6COLOR_Factory_Programming/test.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
const char sdCardTestStringLength = 100;
44
const char *testString = {"This is some test string..."};
55

6-
const char *WSSID = {""};
7-
const char *WPASS = {""};
6+
const char *WSSID = {"Soldered-testingPurposes"};
7+
const char *WPASS = {"Testing443"};
88

99
// Change this to your used slave device
10-
const uint8_t easyCDeviceAddress = 0x70;
10+
const uint8_t easyCDeviceAddress = 0x30;
1111

1212
void testPeripheral()
1313
{
@@ -190,6 +190,7 @@ int checkMicroSDCard()
190190

191191
int checkI2C(int address)
192192
{
193+
Wire.begin();
193194
Wire.beginTransmission(address);
194195
if (Wire.endTransmission() == 0)
195196
{

examples/Inkplate6FLICK/Diagnostics/Inkplate6FLICK_Factory_Programming_VCOM/test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
const char sdCardTestStringLength = 100;
44
const char *testString = {"This is some test string..."};
55

6-
const char *WSSID = {""};
7-
const char *WPASS = {""};
6+
const char *WSSID = {"Soldered-testingPurposes"};
7+
const char *WPASS = {"Testing443"};
88

99
// Change this to your used slave device
10-
const uint8_t easyCDeviceAddress = 0x76;
10+
const uint8_t easyCDeviceAddress = 0x30;
1111

1212
const int TOUCHSCREEN_TIMEOUT = 30;
1313

0 commit comments

Comments
 (0)