Add modbus integration
This commit is contained in:
parent
4edabc5c56
commit
2e6a3be100
5 changed files with 119 additions and 0 deletions
|
|
@ -8,11 +8,13 @@ import (
|
|||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/simonvetter/modbus"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
// daemon is the main service of the succdaemon.
|
||||
type daemon struct {
|
||||
modbusClient *modbus.ModbusClient
|
||||
// adcPirani is the adc implementation returning the voltage of the Pfeiffer
|
||||
// Pirani gauge.
|
||||
adcPirani adc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue