Versions in this module Expand all Collapse all v1 v1.0.1 Oct 31, 2023 Changes in this version + const I2C_SLAVE + const OLED_ADRESSING + const OLED_ADRESSING_COL + const OLED_ADRESSING_START + const OLED_CMD + const OLED_CMD_COL_ADDRESSING + const OLED_CMD_CONTRAST + const OLED_CMD_DISPLAY_OFF + const OLED_CMD_DISPLAY_ON + const OLED_CMD_HIGH_COLUMN + const OLED_CMD_PAGE_ADDRESSING + const OLED_CMD_START_COLUMN + const OLED_DATA + const OLED_END + const PIXSIZE + type I2c struct + Img draw.Image + func NewI2c(vccState, h, w, address, bus int) (*I2c, error) + func (i *I2c) Clear() + func (i *I2c) Close() error + func (i *I2c) DisplayOff() (int, error) + func (i *I2c) DisplayOn() (int, error) + func (i *I2c) Draw() + func (i *I2c) DrawImage(image *image.RGBA) + func (i *I2c) SetContrast(contrast int) error + func (i *I2c) SetDim(dim bool) error + func (i *I2c) Write(b []byte) (int, error) + func (i *I2c) WriteCommand(cmd byte) (int, error) + func (i *I2c) WriteData(data []byte) (int, error) + func (i2c *I2c) Display() error