mirror of
https://github.com/kidoman/embd
synced 2025-07-03 03:47:33 +02:00
refactoring
This commit is contained in:
parent
0135623f1c
commit
0e32dc099e
2 changed files with 54 additions and 76 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue