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

refactoring

This commit is contained in:
Karan Misra 2014-01-07 07:32:26 +05:30
parent 0135623f1c
commit 0e32dc099e
2 changed files with 54 additions and 76 deletions

View file

@ -17,7 +17,7 @@ func main() {
}
pca9685 := pca9685.New(bus, 0x41, 1000)
pca9685.SetDebug(true)
pca9685.Debug = true
defer pca9685.Close()
if err := pca9685.SetPwm(15, 0, 1000); err != nil {