Files
drivers/ina219/errors.go
T
Warren Guy 6d431e0726 Add I2C INA219 driver (#705)
INA219: add INA219 driver
2024-10-24 07:45:33 +02:00

14 lines
293 B
Go

package ina219
type ErrOverflow struct{}
func (e ErrOverflow) Error() string { return "overflow" }
type ErrNotReady struct{}
func (e ErrNotReady) Error() string { return "not ready" }
type ErrConfigMismatch struct{}
func (e ErrConfigMismatch) Error() string { return "config mismatch" }