Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DS18B20 ¶
type DS18B20 struct {
Pin rpio.Pin
}
func NewDS18B20 ¶
func NewDS18B20(pin rpio.Pin) *DS18B20
func (*DS18B20) GetDeviceFile ¶
func (*DS18B20) ReadTempRaw ¶
func (*DS18B20) Temperature ¶
type DigitalDisplayTM1637 ¶
func NewDigitalDisplayTM1637 ¶
func NewDigitalDisplayTM1637(pins map[string]rpio.Pin, realTrue rpio.State) *DigitalDisplayTM1637
func (*DigitalDisplayTM1637) Off ¶
func (d *DigitalDisplayTM1637) Off()
func (*DigitalDisplayTM1637) On ¶
func (d *DigitalDisplayTM1637) On()
func (*DigitalDisplayTM1637) SetNumbers ¶
func (d *DigitalDisplayTM1637) SetNumbers(value string)
func (*DigitalDisplayTM1637) Show ¶
func (d *DigitalDisplayTM1637) Show(str string)
type IC_74HC595 ¶
func (*IC_74HC595) Clear ¶
func (d *IC_74HC595) Clear()
func (*IC_74HC595) FlushSHCP ¶
func (d *IC_74HC595) FlushSHCP()
func (*IC_74HC595) FlushSTCP ¶
func (d *IC_74HC595) FlushSTCP()
func (*IC_74HC595) SetBit ¶
func (d *IC_74HC595) SetBit(bit rpio.State)
func (*IC_74HC595) SetData ¶
func (d *IC_74HC595) SetData(data uint8)
type IC_TM1637 ¶
type IC_TM1637 struct { Pins map[string]rpio.Pin RealTrue rpio.State }
func (*IC_TM1637) SetCommand ¶
type Led74HC595 ¶
type Led74HC595 struct {
IC *IC_74HC595
}
func NewLed74HC595 ¶
func NewLed74HC595(pins map[string]rpio.Pin, realTrue rpio.State) *Led74HC595
func (*Led74HC595) IsOn ¶
func (d *Led74HC595) IsOn(index uint) bool
func (*Led74HC595) Off ¶
func (d *Led74HC595) Off()
func (*Led74HC595) OffForIndex ¶
func (d *Led74HC595) OffForIndex(index uint)
func (*Led74HC595) On ¶
func (d *Led74HC595) On()
func (*Led74HC595) OnForIndex ¶
func (d *Led74HC595) OnForIndex(index uint)
func (*Led74HC595) RowStatus ¶
func (d *Led74HC595) RowStatus() [8]bool
func (*Led74HC595) SetRow ¶
func (d *Led74HC595) SetRow(status [8]bool)
type Tact ¶
type Tact struct { Pin rpio.Pin RealTrue rpio.State Status bool // contains filtered or unexported fields }
func (*Tact) DeRegister ¶
func (*Tact) NotifyObservers ¶
func (t *Tact) NotifyObservers()
func (*Tact) RegisterContains ¶
type TactRow ¶
type TactRow struct { Tacts []*Tact Pins []rpio.Pin RealTrue rpio.State // contains filtered or unexported fields }
func NewTactRow ¶
func NewTactRow(pins []rpio.Pin, realTrue rpio.State) *TactRow
func (*TactRow) DeRegister ¶
func (*TactRow) NotifyObservers ¶
func (t *TactRow) NotifyObservers()
func (*TactRow) RegisterContains ¶
Click to show internal directories.
Click to hide internal directories.