Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
servo.h and abdriver.h which should I use? — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Learn with BlocklyProp
servo.h and abdriver.h which should I use?
Jarvan
Posts:
31
2013-10-02 01:00
edited 2013-10-02 11:30
in
Learn with BlocklyProp
What's the deference between servo.h and abdriver.h ? I am little confused.
Comments
Andy Lindsay (Parallax)
Posts:
1,919
2013-10-02 11:30
edited 2013-10-02 11:30
Hello Jarvan,
Servo.h can be used to control servos. abdrive.h controls the servo speeds based on measured encoder speeds.
There are lots of examples that use abdrive here:
http://learn.parallax.com/activitybot
Each of these pages has numerous ActivityBot code examples:
http://learn.parallax.com/activitybot/navigation-basics
http://learn.parallax.com/activitybot/navigate-touch
http://learn.parallax.com/activitybot/navigate-ultrasound
http://learn.parallax.com/activitybot/navigate-visible-light
http://learn.parallax.com/activitybot/navigate-infrared-flashlights
Andy
Sign In
or
Register
to comment.
Comments
Servo.h can be used to control servos. abdrive.h controls the servo speeds based on measured encoder speeds.
There are lots of examples that use abdrive here: http://learn.parallax.com/activitybot
Each of these pages has numerous ActivityBot code examples:
http://learn.parallax.com/activitybot/navigation-basics
http://learn.parallax.com/activitybot/navigate-touch
http://learn.parallax.com/activitybot/navigate-ultrasound
http://learn.parallax.com/activitybot/navigate-visible-light
http://learn.parallax.com/activitybot/navigate-infrared-flashlights
Andy