samz kazi
Newbie level 6
- Joined
- Feb 26, 2013
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,405
hii... i m using PIC 18f4520 in my project...i m writing the code in C language using MikroC software...i have to give output of comparator(0v or 5v) as an input to PIC 18f4520...when i run a comparator separately on simulator, it works..but when i connect it to PIC as an input to port A, it doesnt work....will someone help me out of this? i need a code to initialize PORT A of PIC as an input from comparator...plzzz plzzz help.