Use bus 0 for I2C

This commit is contained in:
Søren Rasmussen 2022-07-23 20:03:30 +02:00
parent a8cb53743e
commit c0dc0dabef

View file

@ -32,7 +32,7 @@ func NewLCD() (*LCD, error) {
chSetpoint: make(chan float64, 10),
}
p.bus, err = i2c.NewI2C(0x27, 2)
p.bus, err = i2c.NewI2C(0x27, 0)
if err != nil {
return nil, err
}