Fix NOP command and add missing Read RAM Option command
This commit is contained in:
parent
12b109088a
commit
a34f6f8707
2 changed files with 4 additions and 2 deletions
|
|
@ -73,13 +73,14 @@ _SSD1680_WRITE_USERID = const(0x38)
|
|||
_SSD1680_OTP_PROGMODE = const(0x39)
|
||||
_SSD1680_WRITE_BORDER = const(0x3C)
|
||||
_SSD1680_END_OPTION = const(0x3F)
|
||||
_SSD1680_READ_RAM_OPT = const(0x41)
|
||||
_SSD1680_SET_RAMXPOS = const(0x44)
|
||||
_SSD1680_SET_RAMYPOS = const(0x45)
|
||||
_SSD1680_AUTOWRITE_RED = const(0x46)
|
||||
_SSD1680_AUTOWRITE_BW = const(0x47)
|
||||
_SSD1680_SET_RAMXCOUNT = const(0x4E)
|
||||
_SSD1680_SET_RAMYCOUNT = const(0x4F)
|
||||
_SSD1680_NOP = const(0xFF)
|
||||
_SSD1680_NOP = const(0x7F)
|
||||
|
||||
|
||||
class Adafruit_SSD1680(Adafruit_EPD):
|
||||
|
|
|
|||
|
|
@ -69,13 +69,14 @@ _SSD1680B_WRITE_USERID = const(0x38)
|
|||
_SSD1680B_OTP_PROGMODE = const(0x39)
|
||||
_SSD1680B_WRITE_BORDER = const(0x3C)
|
||||
_SSD1680B_END_OPTION = const(0x3F)
|
||||
_SSD1680B_READ_RAM_OPT = const(0x41)
|
||||
_SSD1680B_SET_RAMXPOS = const(0x44)
|
||||
_SSD1680B_SET_RAMYPOS = const(0x45)
|
||||
_SSD1680B_AUTOWRITE_RED = const(0x46)
|
||||
_SSD1680B_AUTOWRITE_BW = const(0x47)
|
||||
_SSD1680B_SET_RAMXCOUNT = const(0x4E)
|
||||
_SSD1680B_SET_RAMYCOUNT = const(0x4F)
|
||||
_SSD1680B_NOP = const(0xFF)
|
||||
_SSD1680B_NOP = const(0x7F)
|
||||
|
||||
|
||||
class Adafruit_SSD1680B(Adafruit_EPD):
|
||||
|
|
|
|||
Loading…
Reference in a new issue