Versions in this module Expand all Collapse all v0 v0.0.1 Jan 7, 2023 Changes in this version + const LCD_H + const LCD_W + const SET_X_CMD + const SET_Y_CMD + const SPI_CLOCK_HZ + const WARM_CMD + type BaseCanvas interface + GetRGB565 func(x, y int) uint16 + SetRGB565 func(x, y int, c uint16) + type Canvas struct + Buffer []byte + Height int + Width int + X0 int + X1 int + Y0 int + Y1 int + func (d *Canvas) Clear() + func (d *Canvas) DrawImage(img image.Image) + func (d *Canvas) Flush() + func (d *Canvas) FlushDirectly(buffer []byte) + func (d *Canvas) GetColor(x, y int) color.Color + func (d *Canvas) GetRGB(x, y int) (r uint8, g uint8, b uint8) + func (d *Canvas) SetColor(x, y int, c color.Color) + func (d *Canvas) SetRGB(x, y int, r, g, b uint8) + type ColorMode uint8 + type ILI9488 struct + func NewILI9488(spi SPI, dc, rst, led, cs PIN) *ILI9488 + func (s *ILI9488) Clear(r, g, b uint8) + func (s *ILI9488) Command(data byte) + func (s *ILI9488) ExchangeData(isData bool, data []byte) + func (s *ILI9488) FlushBitBuffer(x0, y0, x1, y1 int, buffer []byte) + func (s *ILI9488) GetCanvas(x0, y0, x1, y1 int) *Canvas + func (s *ILI9488) GetFullScreenCanvas() *Canvas + func (s *ILI9488) HardReset() + func (s *ILI9488) LcdDirection(direction uint8) + func (s *ILI9488) SendData(data ...byte) + func (s *ILI9488) SetWindow(x0, y0, x1, y1 int) + func (s *ILI9488) Size() *image.Point + type PIN interface + High func() + Low func() + SetOutput func() + type SPI interface + SetSpiMode0 func() + SpiSpeed func(speed uint32) + SpiTransmit func(data []byte) + type ScreenType uint8