Hi Burt; Thanks for your response. Sorry, the revision history on that version of the .asm was not updated properly. My fault, here is what I am trying to do with the program:
1) Read analog input 1 (X) from AN4, store the value
2) Read analog input 2 (Y) from AN3, store the value
3) Perform conditional statements to determine if 2V < X < 3V and 4V < Y < 4.5V
-If both conditions are true; Output a logic1 to pin RB0
-If EITHER one of the above conditions are met, then toggle the output at RBO (High to Low)...for enough time to measure with a DMM.
I know the code may be messy right now. I am not at home and unfortunately do not have a cleaner copy to attach at the moment. I will post it asap.
I think my issue is coming from reading the second analog input (Y).
Thanks Again for your interest!
-Steve L