Skip to content

Commit 66a0a26

Browse files
committed
Fixed bug with SD card and Factory VCOM programming
1 parent 2eca156 commit 66a0a26

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

examples/Inkplate10/Others/Inkplate_Factory_Programming_VCOM/Inkplate_Factory_Programming_VCOM.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ void setup()
2525
Serial.begin(115200);
2626
EEPROM.begin(64);
2727

28-
microSDCardTest();
29-
3028
vcomVoltage = -1.19;
3129

3230
if (EEPROM.read(EEPROMaddress) != 170)
3331
{
32+
microSDCardTest();
3433
display.pinModeInternal(MCP23017_INT_ADDR, mcpRegsInt, 6, INPUT_PULLUP);
3534
writeVCOMToEEPROM(vcomVoltage);
3635
EEPROM.write(EEPROMaddress, 170);

examples/Inkplate5/Others/Inkplate_Factory_Programming_VCOM/Inkplate_Factory_Programming_VCOM.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ void setup()
2222
Serial.begin(115200);
2323
EEPROM.begin(64);
2424

25-
microSDCardTest();
26-
2725
if (EEPROM.read(EEPROMaddress) != 170)
2826
{
27+
microSDCardTest();
2928
display.einkOn();
3029
display.pinModeInternal(MCP23017_INT_ADDR, display.mcpRegsInt, 6, INPUT_PULLUP);
3130
display.display();

examples/Inkplate6/Others/Inkplate_Factory_Programming_VCOM/Inkplate_Factory_Programming_VCOM.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ void setup()
2424
Serial.begin(115200);
2525
EEPROM.begin(64);
2626

27-
microSDCardTest();
28-
2927
if (EEPROM.read(EEPROMaddress) != 170)
3028
{
29+
microSDCardTest();
3130
display.digitalWriteInternal(MCP23017_ADDR, mcpRegsInt, 3, HIGH);
3231
display.digitalWriteInternal(MCP23017_ADDR, mcpRegsInt, 4, HIGH);
3332
display.digitalWriteInternal(MCP23017_ADDR, mcpRegsInt, 5, HIGH);

examples/Inkplate6PLUS/Others/Inkplate_Factory_Programming_VCOM/Inkplate_Factory_Programming_VCOM.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ void setup()
2222
Serial.begin(115200);
2323
EEPROM.begin(64);
2424

25-
microSDCardTest();
26-
2725
if (EEPROM.read(EEPROMaddress) != 170)
2826
{
27+
microSDCardTest();
2928
display.einkOn();
3029
display.pinModeInternal(MCP23017_INT_ADDR, display.mcpRegsInt, 6, INPUT_PULLUP);
3130
display.display();

0 commit comments

Comments
 (0)