Versions in this module Expand all Collapse all v0 v0.1.0 Sep 8, 2017 Changes in this version + const AddressDefault + const ControlClockSync + const ControlConfig + const ControlCurrentSource + const ControlDisplayOption + const ControlFrameTime + const ControlI2CMonitoring + const ControlInterruptFrame + const ControlInterruptMask + const ControlInterruptStatus + const ControlMovie + const ControlMovieMode + const ControlPicture + const ControlShutdown + const ControlStatus + const CurrentSourceDefault + const DeviceDefault + const FrameSegmentFirst + const FrameSegmentLast + const PWMSegmentFirst + const PWMSegmentLast + const RegisterBlinkPWMFrameFirst + const RegisterBlinkPWMFrameLast + const RegisterControl + const RegisterOnOffFrameFirst + const RegisterOnOffFrameLast + const RegisterSelect + var Off = color.Gray + var On = color.Gray + type AS1130 struct + func NewAS1130(device string, address int) (*AS1130, error) + func (a *AS1130) Close() error + func (a *AS1130) Init(blinkAndPWMSets uint8) error + func (a *AS1130) InterruptStatus() (Interrupt, error) + func (a *AS1130) MaxFrames() (uint8, error) + func (a *AS1130) Read(register, subregister byte) (byte, error) + func (a *AS1130) Reset() error + func (a *AS1130) SetBlinkAndPWMSet(set uint8, blink Framer, pwm Framer) error + func (a *AS1130) SetClockSync(c ClockSync) error + func (a *AS1130) SetConfig(c Config) error + func (a *AS1130) SetCurrentSource(milliAmps byte) error + func (a *AS1130) SetDisplayOption(d DisplayOption) error + func (a *AS1130) SetFrame(frame uint8, img Framer) error + func (a *AS1130) SetFrameTime(f FrameTime) error + func (a *AS1130) SetInterruptFrame(lastFrame uint8) error + func (a *AS1130) SetInterruptMask(i Interrupt) error + func (a *AS1130) SetMovie(m Movie) error + func (a *AS1130) SetMovieMode(m MovieMode) error + func (a *AS1130) SetPicture(p Picture) error + func (a *AS1130) SetShutdown(s Shutdown) error + func (a *AS1130) Start() error + func (a *AS1130) Status() (Status, error) + func (a *AS1130) Write(register, subregister, data byte) error + type ClockFreq byte + const Clock125kHz + const Clock1MHz + const Clock32kHz + const Clock500kHz + type ClockSync struct + ClockOutFreq ClockFreq + SyncIn bool + SyncOut bool + type Config struct + BlinkAndPWMSets uint8 + CommonAddress bool + DotCorrection bool + LEDErrorCorrection bool + LowVDDReset bool + LowVDDStatus bool + type DisplayOption struct + BlinkFrequency bool + Loops uint8 + ScanLimit uint8 + type Frame12x11 struct + func NewFrame12x11() *Frame12x11 + func (f *Frame12x11) OnOffBytes() ([24]byte, error) + func (f *Frame12x11) PWMBytes() ([132]byte, error) + func (f *Frame12x11) PWMSet() uint8 + func (f *Frame12x11) SetPWMSet(set uint8) + type Frame24x5 struct + func NewFrame24x5() *Frame24x5 + func TextFrames(text string) ([]*Frame24x5, error) + func (f *Frame24x5) OnOffBytes() ([24]byte, error) + func (f *Frame24x5) PWMBytes() ([132]byte, error) + func (f *Frame24x5) PWMSet() uint8 + func (f *Frame24x5) SetPWMSet(set uint8) + type FrameTime struct + Delay uint8 + Fade bool + Scroll12x11 bool + ScrollRight bool + Scrolling bool + type Framer interface + OnOffBytes func() ([24]byte, error) + PWMBytes func() ([132]byte, error) + PWMSet func() uint8 + SetPWMSet func(uint8) + type Interrupt struct + Frame bool + LowVDD bool + MovieFinish bool + OpenError bool + OverTemp bool + PowerOrReset bool + ShortError bool + Watchdog bool + type Movie struct + Blink bool + Display bool + Frame uint8 + type MovieMode struct + Blink bool + EndLast bool + Frames uint8 + type Picture struct + Blink bool + Display bool + Frame uint8 + type Shutdown struct + AutoTest bool + Initialise bool + ManualTest bool + Shutdown bool + TestAll bool + type Status struct + Frame uint8 + Movie bool + Test bool