Shop OBEX P1 Docs P2 Docs Learn Events
Problem with servo code — Parallax Forums

Problem with servo code

jmerrelljmerrell Posts: 25
edited 2013-11-21 12:33 in General Discussion
Solution found.

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2013-11-20 22:18
    Please elaborate what your solution was so that others can benefit from your findings.
  • jmerrelljmerrell Posts: 25
    edited 2013-11-21 10:57
    My servo was not rotating properly, and sometimes not at all when IN1 went HIGH. I had 2 servos connected to the servo ports P14 and P15 and at the same time was utilizing P8-P15 for a 7-segment display. What a rookie mistake! I should have known better. So I moved the display and assiciated wiring to P0-P7 and everything works as it should, even the counter (as seen in my earlier post, "Score counter from 0-3" dated 11-16-2013). The suggestions I received on the forum made sense but I could not get it to work. It's mistakes like this one that one never forgets. I have also implemented some of the past suggestions into my program. Thanks everyone.
  • PublisonPublison Posts: 12,366
    edited 2013-11-21 12:33
    jmerrell wrote: »
    My servo was not rotating properly, and sometimes not at all when IN1 went HIGH. I had 2 servos connected to the servo ports P14 and P15 and at the same time was utilizing P8-P15 for a 7-segment display. What a rookie mistake! I should have known better. So I moved the display and assiciated wiring to P0-P7 and everything works as it should, even the counter (as seen in my earlier post, "Score counter from 0-3" dated 11-16-2013). The suggestions I received on the forum made sense but I could not get it to work. It's mistakes like this one that one never forgets. I have also implemented some of the past suggestions into my program. Thanks everyone.

    Thanks for sharing that!

    You don't know how sharing that bit of info will help many others in the future.
Sign In or Register to comment.