Well but it work with the lines uncommented, and stands fairly in the middle.
I also tried three different servos.
Well, my testsetup is built on an breadboard, and the servo is connected via a pinstrip and directly to the same power as the rest of the setup, which is powered from the +5V 2A output on my lab power supply.Now ... an interesting question ...
Where do your servo take its power ???
Btw I'm using a pickit2 from microchip to program the pic via ICSP, and its permanently connected to the pic.
Yes, I used a switch with three positions, (on)off(on) first, but now I just use a cable directly on the breadboard.PS1: you sure PORTA.0 AND PORTA.1 can't be 0 together ???
No idea, how do I do that ?PS2: you sure your comparators are disabled ??? ... 16F628 !!!





Bookmarks