# Graphics library by Ladyada/Adafruit 
# MIT license
# Look it up. It's on the internet.


ST7735_NOP     = 0x0
ST7735_SWRESET = 0x01
ST7735_RDDID   = 0x04
ST7735_RDDST   = 0x09

ST7735_SLPIN   = 0x10
ST7735_SLPOUT  = 0x11
ST7735_PTLON = 0x12
ST7735_NORON = 0x13

ST7735_INVOFF = 0x20
ST7735_INVON  = 0x21
ST7735_DISPOFF = 0x28
ST7735_DISPON  = 0x29
ST7735_CASET = 0x2A
ST7735_RASET = 0x2B
ST7735_RAMWR = 0x2C
ST7735_RAMRD = 0x2E

ST7735_COLMOD = 0x3A
ST7735_MADCTL = 0x36


ST7735_FRMCTR1 = 0xB1
ST7735_FRMCTR2 = 0xB2
ST7735_FRMCTR3 = 0xB3
ST7735_INVCTR  = 0xB4
ST7735_DISSET5 = 0xB6

ST7735_PWCTR1 = 0xC0
ST7735_PWCTR2 = 0xC1
ST7735_PWCTR3 = 0xC2
ST7735_PWCTR4 = 0xC3
ST7735_PWCTR5 = 0xC4
ST7735_VMCTR1 = 0xC5

ST7735_RDID1 = 0xDA
ST7735_RDID2 = 0xDB
ST7735_RDID3 = 0xDC
ST7735_RDID4 = 0xDD

ST7735_PWCTR6 = 0xFC

ST7735_GMCTRP1 = 0xE0
ST7735_GMCTRN1 = 0xE1

