clang
This commit is contained in:
parent
5b096fab87
commit
801165f33f
3 changed files with 31 additions and 31 deletions
|
|
@ -45,7 +45,7 @@
|
|||
#include "panels/ThinkInk_420_Tricolor_Z21.h"
|
||||
#include "panels/ThinkInk_583_Mono_AAAMFGN.h"
|
||||
#include "panels/ThinkInk_583_Tricolor_AABMFGNR.h"
|
||||
#include "panels/ThinkInk_750_Tricolor_AABMFGNR.h"
|
||||
#include "panels/ThinkInk_750_Mono_AAAMFGN.h"
|
||||
#include "panels/ThinkInk_750_Tricolor_AABMFGNR.h"
|
||||
|
||||
#endif // _ADAFRUIT_THINKINK_H_
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ void Adafruit_UC8151D::displayPartial(uint16_t x1, uint16_t y1, uint16_t x2,
|
|||
buf[2] = y1 >> 8;
|
||||
buf[3] = y1 & 0xFF;
|
||||
buf[4] = (y2) >> 8;
|
||||
buf[5] = (y2) & 0xFF;
|
||||
buf[5] = (y2)&0xFF;
|
||||
buf[6] = 0x28;
|
||||
|
||||
EPD_command(UC8151D_PTL, buf, 7); // resolution setting
|
||||
|
|
|
|||
|
|
@ -4,41 +4,41 @@
|
|||
#include "Adafruit_EPD.h"
|
||||
|
||||
const uint8_t uc8179_750_mono_init_code[]{UC8179_POWERSETTING,
|
||||
4,
|
||||
0x07, // VGH=20V
|
||||
0x07, // VGL=-20V
|
||||
0x3F, // VDH=15V
|
||||
0x3F, // VDL=-15V
|
||||
4,
|
||||
0x07, // VGH=20V
|
||||
0x07, // VGL=-20V
|
||||
0x3F, // VDH=15V
|
||||
0x3F, // VDL=-15V
|
||||
|
||||
UC8179_POWERON,
|
||||
0,
|
||||
0xFF,
|
||||
100, // busy wait
|
||||
UC8179_POWERON,
|
||||
0,
|
||||
0xFF,
|
||||
100, // busy wait
|
||||
|
||||
UC8179_PANELSETTING,
|
||||
1,
|
||||
0b010111, // BW OTP LUT
|
||||
UC8179_PANELSETTING,
|
||||
1,
|
||||
0b010111, // BW OTP LUT
|
||||
|
||||
UC8179_TRES,
|
||||
4,
|
||||
0x03,
|
||||
0x20,
|
||||
0x01,
|
||||
0xE0,
|
||||
UC8179_TRES,
|
||||
4,
|
||||
0x03,
|
||||
0x20,
|
||||
0x01,
|
||||
0xE0,
|
||||
|
||||
UC8179_DUALSPI,
|
||||
1,
|
||||
0x00,
|
||||
UC8179_DUALSPI,
|
||||
1,
|
||||
0x00,
|
||||
|
||||
UC8179_WRITE_VCOM,
|
||||
2,
|
||||
0x10,
|
||||
0x07,
|
||||
UC8179_TCON,
|
||||
1,
|
||||
0x22,
|
||||
UC8179_WRITE_VCOM,
|
||||
2,
|
||||
0x10,
|
||||
0x07,
|
||||
UC8179_TCON,
|
||||
1,
|
||||
0x22,
|
||||
|
||||
0xFE};
|
||||
0xFE};
|
||||
|
||||
class ThinkInk_750_Mono_AAAMFGN : public Adafruit_UC8179 {
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in a new issue