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 CLOCKDIV + const CONTRASTA + const CONTRASTB + const CONTRASTC + const DISPLAYALLOFF + const DISPLAYALLON + const DISPLAYOFF + const DISPLAYOFFSET + const DISPLAYON + const DRAWLINE + const DRAWRECT + const FILL + const INVERTDISPLAY + const MASTERCURRENT + const NORMALDISPLAY + const POWERMODE + const PRECHARGE + const PRECHARGEA + const PRECHARGEB + const PRECHARGEC + const PRECHARGELEVEL + const SETCOLUMN + const SETMASTER + const SETMULTIPLEX + const SETREMAP + const SETROW + const STARTLINE + const VCOMH + func RGBATo565(c color.RGBA) uint16 + type Config struct + Height int16 + Width int16 + type Device struct + func New(bus machine.SPI, resetPin, dcPin, csPin 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) 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) IsBGR(bgr bool) + func (d *Device) SetContrast(contrastA, contrastB, contrastC uint8) + func (d *Device) SetPixel(x int16, y int16, c color.RGBA) + func (d *Device) Size() (w, h int16) + func (d *Device) Tx(data []byte, isCommand bool) + type Model uint8 + type Rotation uint8