Versions in this module Expand all Collapse all v0 v0.0.27 Oct 9, 2023 Changes in this version + type Pingvin struct + Coils []pingvinCoil + Debug PingvinLogger + Registers []pingvinRegister + Status pingvinStatus + func New(serial string, debug bool) *Pingvin + func (p *Pingvin) Collect(ch chan<- prometheus.Metric) + func (p *Pingvin) Describe(ch chan<- *prometheus.Desc) + func (p *Pingvin) Monitor(interval int) + func (p *Pingvin) Quit() + func (p *Pingvin) ReadCoil(n uint16) ([]byte, error) + func (p *Pingvin) ReadRegister(addr uint16) (int, error) + func (p *Pingvin) Temperature(action string) error + func (p *Pingvin) Update() + func (p *Pingvin) WriteCoil(n uint16, val bool) bool + func (p *Pingvin) WriteCoils(startaddr uint16, quantity uint16, vals []bool) error + func (p *Pingvin) WriteRegister(addr uint16, value uint16) (uint16, error) + type PingvinLogger struct + func (logger *PingvinLogger) Println(msg ...any)