chilly
Newbie level 5
16f877 code
I'm working with a PIC 16F877
My PIC program is reading input from portA then show output in portB
My problem is when portA is 10001 then it will make RB0=1, when portA is 10011 it will make RB1=1
but when portA is 10011 is will make both RB0, RB1=1
How can I solve this problem? I want when portA is 10011 is make RB1=1 only
Thanks for any suggestion.
I'm working with a PIC 16F877
My PIC program is reading input from portA then show output in portB
My problem is when portA is 10001 then it will make RB0=1, when portA is 10011 it will make RB1=1
but when portA is 10011 is will make both RB0, RB1=1
How can I solve this problem? I want when portA is 10011 is make RB1=1 only
Thanks for any suggestion.