The Arduino program was updated to fit the driver board of Rev2.3.
This commit is contained in:
parent
8b81d7a22f
commit
a550cc47fa
12 changed files with 30 additions and 1 deletions
|
|
@ -57,6 +57,10 @@ int EpdIf::IfInit(void) {
|
|||
pinMode(RST_PIN, OUTPUT);
|
||||
pinMode(DC_PIN, OUTPUT);
|
||||
pinMode(BUSY_PIN, INPUT);
|
||||
|
||||
pinMode(PWR_PIN, OUTPUT);
|
||||
DigitalWrite(PWR_PIN, 1);
|
||||
|
||||
SPI.begin();
|
||||
SPI.beginTransaction(SPISettings(7000000, MSBFIRST, SPI_MODE0));
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue