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 " !!!
*****************************************
Bookmarks