Hi,
Just place
PAUSE 18
just after PULSOUT command ...
instead of Before " GOTO Main" .
Alain
Hi,
Just place
PAUSE 18
just after PULSOUT command ...
instead of Before " GOTO Main" .
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
That was to get a decent frame duration whatever you do with the buttons.
Seems the pot cursor is out of its lane ... or see PS !!!
Now, you should place the Max value for b1 to 200 and min value to 100 ... I know servos not responding for values out of this range.
something possible is the méchanical travel is over the pot travel ... not good at all.
and remember Futaba analogic servos MECHANICAL center is +/- 1300µs. you must take this into account if you try more than the +/- 500µS trip ...
Now ... an interesting question ...
Where do your servo take its power ???
Alain
PS1: you sure PORTA.0 AND PORTA.1 can't be 0 together ???
PS2: you sure your comparators are disabled ??? ... 16F628 !!!
... Lol ...
Last edited by Acetronics2; - 21st September 2008 at 18:12.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
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 !!!
Last edited by Glenn; - 21st September 2008 at 20:33.
Bookmarks