Shop OBEX P1 Docs P2 Docs Learn Events
Basic stamp 2 — Parallax Forums

Basic stamp 2

Working with What's a mincrontroller book page 152 : 220 ohm resistor in Pin7 works fine, change resistor to Pin8 change to that number in the program won't work. Changed to other pins same result won't work. Move back to Pin7 no trouble, can turn the servo agan.

Comments

  • Make sure you've changed the pin number in each place it's used. This is why professional programmers use named symbols -- when one uses magic numbers, this often leads to errors after seemingly simple changes. If you post your code, it will be easy to show you a simple technique for avoiding these problems.
  • Ok, thank you.
Sign In or Register to comment.