Skip to content

Commit b5646eb

Browse files
authored
Merge pull request #79 from e-radionicacom/dev
Dev
2 parents 61d72df + ff42d9d commit b5646eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/Inkplate6/Others/Inkplate_Factory_Programming_VCOM/Inkplate_Factory_Programming_VCOM.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void setup()
3838
Serial.print(vcomVoltage, 2);
3939
Serial.println("V");
4040
delay(1000);
41-
display.pinModeInternal(MCP23017_INT_ADDR, mcpRegsInt, 6, INPUT_PULLUP);
41+
display.pinModeInternal(MCP23017_INT_ADDR, mcpRegsInt, 6, INPUT_PULLUP);// Declaring this again since it gets reset somewhere.
4242
writeVCOMToEEPROM(vcomVoltage);
4343
EEPROM.write(EEPROMaddress, 170);
4444
EEPROM.commit();

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=InkplateLibrary
2-
version=2.4.0
2+
version=3.0.0
33
author=e-radionica.com <[email protected]>
44
maintainer=David Zovko <[email protected]>
55
sentence=Inkplate boards driver library

src/boards/Inkplate6plus.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void Inkplate::partialUpdate(bool _forced)
410410
}
411411

412412
uint32_t _pos = (E_INK_WIDTH * E_INK_HEIGHT / 8) - 1;
413-
uint32_t _send;
413+
//uint32_t _send;
414414
uint8_t data;
415415
uint8_t diffw, diffb;
416416
uint32_t n = (E_INK_WIDTH * E_INK_HEIGHT / 4) - 1;
@@ -447,7 +447,7 @@ void Inkplate::partialUpdate(bool _forced)
447447
GPIO.out_w1tc = DATA | CL;
448448
n--;
449449
}
450-
GPIO.out_w1ts = (_send) | CL;
450+
GPIO.out_w1ts = CL;
451451
GPIO.out_w1tc = DATA | CL;
452452
vscan_end();
453453
}

0 commit comments

Comments
 (0)