Documentation ¶
Index ¶
- Constants
- type Channel
- type Client
- type CloudIndex
- type Device
- func (d *Device) Alert() error
- func (d *Device) Channel() *Channel
- func (d *Device) Countdown(minute int, second int, status Status) error
- func (d *Device) Display() *Display
- func (d *Device) Noise(status Status) error
- func (d *Device) PlayBuzzer(activeTimeInCycle int, offTimeInCycle int, playTotalTime int) error
- func (d *Device) Scoreboard(blueScore int, redScore int) error
- func (d *Device) Stopwatch(status Status) error
- type Display
- type Frame
- type GetHttpGifId
- type Index
- type Picture
- type Status
- type Switch
Constants ¶
View Source
const ( Width = 64 Height = 64 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func (*Channel) ActivateCloudIndex ¶
func (c *Channel) ActivateCloudIndex(index CloudIndex) error
func (*Channel) ActivateCustomPage ¶
func (*Channel) ActivateSetIndex ¶
func (*Channel) ActivateVisualizer ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is used to send and receive the data to a pixoo64 device.
type CloudIndex ¶
type CloudIndex int
const ( RecommendCloudIndex CloudIndex = 0 FavouriteCloudIndex CloudIndex = 1 SubscribeArtistCloudIndex CloudIndex = 2 AlbumCloudIndex CloudIndex = 3 )
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) PlayBuzzer ¶
type Display ¶
type Display struct {
// contains filtered or unexported fields
}
Display manages the graphics on the pixoo64 device.
func NewDisplay ¶
NewDisplay create a new Display.
func (*Display) CreatePicture ¶
func (*Display) GetHttpGifId ¶
func (*Display) SetBrightness ¶
type GetHttpGifId ¶
type Picture ¶
type Picture struct {
// contains filtered or unexported fields
}
func (*Picture) CreateFrame ¶
Click to show internal directories.
Click to hide internal directories.