Skip to content

Commit

Permalink
fix bug : wifi_kit8 and wifi_kit32 can't be used
Browse files Browse the repository at this point in the history
  • Loading branch information
solotaker authored and solotaker committed Aug 15, 2019
1 parent 3d34bd5 commit 02c901e
Show file tree
Hide file tree
Showing 3 changed files with 305 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/e_ink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,15 @@ int Epd::Init(const unsigned char* lut) {
SendData(0xD6);
SendData(0x9D);
SendCommand(WRITE_VCOM_REGISTER); //0X2C
SendData(0xA8); //9A // VCOM 7C
SendData(0xA8); // VCOM 7C
//SendData(0X9A); // VCOM 7C
SendCommand(SET_DUMMY_LINE_PERIOD); //0X3A
SendData(0x1A); // 4 dummy lines per gate
SendCommand(SET_GATE_TIME); //0X3B
SendData(0x08); // 2us per line
SendCommand(DATA_ENTRY_MODE_SETTING); //0X11
SendData(0x01); //SendData(0x03); // X increment; Y increment
//SendData(0x01); // X increment; Y increment
SendData(0x03); // X increment; Y increment
SetLut(this->lut);


Expand Down
Loading

0 comments on commit 02c901e

Please sign in to comment.