1
0
Fork 0
mirror of https://github.com/kidoman/embd synced 2025-07-03 03:47:33 +02:00

samples: fix to reflect changes in i2c library

This commit is contained in:
Karan Misra 2014-02-08 03:52:06 +05:30
parent cd54380887
commit c61631dc1a
9 changed files with 13 additions and 36 deletions

View file

@ -11,10 +11,7 @@ import (
)
func main() {
bus, err := i2c.NewBus(1)
if err != nil {
log.Panic(err)
}
bus := i2c.NewBus(1)
pca9685 := pca9685.New(bus, 0x41, 1000)
pca9685.Debug = true