Shop OBEX P1 Docs P2 Docs Learn Events
Please recommend a Spin servo demo — Parallax Forums

Please recommend a Spin servo demo

lardomlardom Posts: 1,659
edited 2010-12-21 08:30 in General Discussion
I'm trying to track down a fairly simple servo demo in spin. I know that a servo operates at a pulse rate of 50Hz and a pulse width of 1 to 2mm. I've already built something from a servo and a 555 timer chip so I thought understanding Spin code was easy. I'm thinking all I have to do is find a demo that will let me adjust the angle with a pot. I may have to use an advanced object that I could strip down to its most basic state or build a basic method. I don't see a shortcut.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-12-21 08:03
    In the OBEX there is RC_SERVO_CONTROL have you looked at that yet?
  • lardomlardom Posts: 1,659
    edited 2010-12-21 08:30
    Thanks Franklin. I would never have looked for "RC". Since I'm also contemplating whether to use RC or wired control in my next project "RC_SERVO_CONTROL" should be perfect.
Sign In or Register to comment.