I was looking at a Melab's sample program for servos and from what I've learned I thought that it wouldn't possibly work after getting my servo going but I tried it with little modification (I wasn't using the Lab-X or the same PIC). And it didn't (work) at least properly. The main flag I saw was in this following section/code below because the timing of the pulse seems wrong from everything I've seen. Can anyone tell me how this could have worked under some circumstance other than a normal servo situation? The original program is here;http://melabs.com/samples/LABX1-16F877A/servox.htm :
servo1 = 1 ' Start servo pulse |
53 | Pauseus 1000 + pos |
54 | servo1 = 0 ' End servo pulse |
55 | Pause 16 ' Servo update rate about 60Hz |
56 | Goto mainloop ' Do it all forever |
Comment