mirror of
https://github.com/kidoman/embd
synced 2025-07-03 03:47:33 +02:00
refactoring
This commit is contained in:
parent
2b67e89fad
commit
7d044a8f0e
3 changed files with 30 additions and 36 deletions
|
@ -21,7 +21,6 @@ func main() {
|
|||
defer pwm.Close()
|
||||
|
||||
servo := servo.New(pwm, 50, 0, 1, 2.5)
|
||||
servo.SetDebug(true)
|
||||
|
||||
c := make(chan os.Signal, 1)
|
||||
signal.Notify(c, os.Interrupt, os.Kill)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue