thank you for your quick response!
please excuse my typo earlier, PIC16F648A is the chip Im using.
and the "CMCON = 7" at the beginning of my code fixed the problem with my switches not responding.
My servo will now respond to the switch being toggled, but I would like for my servo to center itself when the switch is in it's center position. I have been reading different versions of controlling servo's via switches, and buttons and have tried my best to combine, into my idea of a logical procedure(not to say the others are not), just trying to write my first bit of code![]()
again thank you for your response.
Bookmarks