Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor is a USB CO2 monitor
func New ¶
func New(setters ...OptionSetter) (*Monitor, error)
func (*Monitor) Measurements ¶
type OptionSetter ¶
type OptionSetter func(opts *options)
func WithDevOptions ¶ added in v1.7.1
func WithDevOptions(setters ...co2mon.OptionSetter) OptionSetter
func WithReadDelay ¶
func WithReadDelay(readDelay time.Duration) OptionSetter
Click to show internal directories.
Click to hide internal directories.