Hi all,
I'm working on LED sensor and trying to interface with PIC microcontroller .
I know that i should use ADC to do my action in PIC.
For now, my LED sensor circuit works, it gives 5V , if not interrupted and 1.5v , if interrupted.My question how do I range the limit for this in PIC digital format?
How do i set the range for interruption and non-interruption in PIC C programming?
Please let me know , if i need to rephrase my question for you guys to understand.
THanks !
I'm working on LED sensor and trying to interface with PIC microcontroller .
I know that i should use ADC to do my action in PIC.
For now, my LED sensor circuit works, it gives 5V , if not interrupted and 1.5v , if interrupted.My question how do I range the limit for this in PIC digital format?
How do i set the range for interruption and non-interruption in PIC C programming?
Please let me know , if i need to rephrase my question for you guys to understand.
THanks !