mirror of
https://github.com/kidoman/embd
synced 2025-07-03 03:47:33 +02:00
servo: assume good defaults for minus and maxus (544 and 2400, as per
the Arduino documentation: http://arduino.cc/en/Reference/ServoAttach)
This commit is contained in:
parent
7c32e907e1
commit
7809d9d6ba
3 changed files with 8 additions and 3 deletions
|
@ -21,7 +21,7 @@ func main() {
|
|||
pwm.Debug = true
|
||||
defer pwm.Close()
|
||||
|
||||
servo := servo.New(pwm, 0, 500, 2500)
|
||||
servo := servo.New(pwm, 0)
|
||||
servo.Debug = true
|
||||
|
||||
c := make(chan os.Signal, 1)
|
||||
|
|
|
@ -15,7 +15,7 @@ func main() {
|
|||
sb.Debug = true
|
||||
defer sb.Close()
|
||||
|
||||
servo := servo.New(sb, 0, 500, 2500)
|
||||
servo := servo.New(sb, 0)
|
||||
servo.Debug = true
|
||||
|
||||
c := make(chan os.Signal, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue