Use bus 0 for I2C
This commit is contained in:
parent
a8cb53743e
commit
c0dc0dabef
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ func NewLCD() (*LCD, error) {
|
||||||
chSetpoint: make(chan float64, 10),
|
chSetpoint: make(chan float64, 10),
|
||||||
}
|
}
|
||||||
|
|
||||||
p.bus, err = i2c.NewI2C(0x27, 2)
|
p.bus, err = i2c.NewI2C(0x27, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue