Versions in this module Expand all Collapse all v0 v0.5.0 Aug 26, 2019 v0.4.0 Aug 7, 2019 Changes in this version + const CASET + const COLMOD + const DISPOFF + const DISPON + const DISSET5 + const FRMCTR1 + const FRMCTR2 + const FRMCTR3 + const GMCTRN1 + const GMCTRP1 + const INVCTR + const INVOFF + const INVON + const MADCTL + const MADCTL_BGR + const MADCTL_MH + const MADCTL_ML + const MADCTL_MV + const MADCTL_MX + const MADCTL_MY + const MADCTL_RGB + const NOP + const NORON + const NO_ROTATION + const PTLAR + const PTLON + const PWCTR1 + const PWCTR2 + const PWCTR3 + const PWCTR4 + const PWCTR5 + const PWCTR6 + const RAMRD + const RAMWR + const RASET + const RDDID + const RDDST + const RDID1 + const RDID2 + const RDID3 + const RDID4 + const ROTATION_180 + const ROTATION_270 + const ROTATION_90 + const SLPIN + const SLPOUT + const SWRESET + const VMCTR1 + func RGBATo565(c color.RGBA) uint16 + type Config struct + ColumnOffset int16 + Height int16 + Rotation Rotation + RowOffset int16 + Width int16 + type Device struct + func New(bus machine.SPI, resetPin, dcPin, blPin machine.Pin) Device + func (d *Device) Command(command uint8) + func (d *Device) Configure(cfg Config) + func (d *Device) Data(data uint8) + func (d *Device) Display() error + func (d *Device) DrawFastHLine(x0, x1, y int16, c color.RGBA) + func (d *Device) DrawFastVLine(x, y0, y1 int16, c color.RGBA) + func (d *Device) EnableBacklight(enable bool) + func (d *Device) FillRectangle(x, y, width, height int16, c color.RGBA) error + func (d *Device) FillRectangleWithBuffer(x, y, width, height int16, buffer []color.RGBA) error + func (d *Device) FillScreen(c color.RGBA) + func (d *Device) InvertColors(invert bool) + func (d *Device) IsBGR(bgr bool) + func (d *Device) SetPixel(x int16, y int16, c color.RGBA) + func (d *Device) SetRotation(rotation Rotation) + func (d *Device) Size() (w, h int16) + func (d *Device) Tx(data []byte, isCommand bool) + type Rotation uint8