Documentation ¶
Index ¶
- Variables
- type Oled
- func (v *Oled) Clear() error
- func (v *Oled) Close()
- func (v *Oled) DisplayOff() error
- func (v *Oled) DisplayOn() error
- func (v *Oled) SetColumnAddressing(startPixel int, endPixel int) (int, error)
- func (v *Oled) SetCursor(row int, column int) error
- func (v *Oled) Write(message string) (int, error)
- func (v *Oled) WriteChar(c int) error
- func (v *Oled) WriteCharUnchecked(c int) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Oled ¶
type Oled struct {
// contains filtered or unexported fields
}
Oled Represents oled display
func BeginOled ¶
func BeginOled(mOLEDDefaultI2cAddress uint8, mOLEDDefaultI2cBus int, mOLEDScreenWidth int, mOLEDScreenHeight int, mOLEDDisplayRows int, mOLEDDisplayColumns uint8, mOLEDStartColumn int, mOLEDCharLength int, mOLEDCommandColumnAddressing int, mOLEDAddressBasePageStart int) (*Oled, error)
BeginOled Creates a new Oled reference
func (*Oled) DisplayOff ¶
DisplayOff switches off the oled display
func (*Oled) SetColumnAddressing ¶
SetColumnAddressing sets the oled viewport
func (*Oled) WriteCharUnchecked ¶
WriteCharUnchecked write specified character as it is on oled
Click to show internal directories.
Click to hide internal directories.