Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dev ¶
type Dev struct {
// contains filtered or unexported fields
}
Dev is open handle to display controller.
func NewSPI ¶
NewSPI returns a Dev object that communicates over SPI to epd7in5 E-Paper display controller.
func NewSPIHat ¶
NewSPIHat returns a Dev object that communicates over SPI and have the default config for the e-paper hat for raspberry pi
func (*Dev) ColorModel ¶
ColorModel implements display.Drawer
func (*Dev) Init ¶
Init initialize the display config. This method is already called when creating a device using NewSPI and NewSPIHat methods.
It should be only used when you put the device to sleep and need to re-init the device.
Click to show internal directories.
Click to hide internal directories.