Skip to content

Instantly share code, notes, and snippets.

@paulschow
Last active August 5, 2016 17:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
// discharge internal - 1
Delay_us(10);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x70, 0x04), 2);
Delay_us(10);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x72, 0x50), 2);
Delay_ms(50);
// discharge internal - 2
Delay_us(10);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x70, 0x04), 2);
Delay_us(10);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x72, 0xA0), 2);
Delay_ms(50);
// discharge internal - 3
Delay_us(10);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x70, 0x04), 2);
Delay_us(10);
SPI_send(this->EPD_Pin_EPD_CS, CU8(0x72, 0x00), 2);
Delay_us(10);
this->power_off();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment