mirror of
https://github.com/kidoman/embd
synced 2025-01-03 10:31:36 +01:00
pca9685: higher speed for motor
This commit is contained in:
parent
f34c59d224
commit
c83bd5bf6c
@ -20,7 +20,7 @@ func main() {
|
|||||||
pca9685.Debug = true
|
pca9685.Debug = true
|
||||||
defer pca9685.Close()
|
defer pca9685.Close()
|
||||||
|
|
||||||
if err := pca9685.SetPwm(15, 0, 1000); err != nil {
|
if err := pca9685.SetPwm(15, 0, 2000); err != nil {
|
||||||
log.Panic(err)
|
log.Panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user