mathespbe
Full Member level 3
- Joined
- Jul 10, 2013
- Messages
- 185
- Helped
- 45
- Reputation
- 90
- Reaction score
- 44
- Trophy points
- 28
- Location
- India, Tamilnadu, Coimbatore
- Activity points
- 866
I guess PORTB in PIC doesn't support your input since it can use 1ly as digital I/P. A digital input has !ly 0V and 5V levels. If u vary your I/P by means of sensor it doesn't respond as u required.
Just configure it to PORTA or PORTC...
I might be wrong. Please consider my points and give corrections...
Just configure it to PORTA or PORTC...
I might be wrong. Please consider my points and give corrections...