Hello all,
New to this forum and to pic programming.
I am working on a circuit using the 16F877A using the ccs-C compiler.
In this circuit I am required to send an input the timer0 of the PIC (by adjusting a variable resistor connected to 5V & Gnd) via pin #6 (RA4/T0CKI/C1OUT). The issue is that I do not know what function to use to read the input and act accordingly.
Can anyone suggest a (if not the) function I should use.
Thanks a lot in advance.
New to this forum and to pic programming.
I am working on a circuit using the 16F877A using the ccs-C compiler.
In this circuit I am required to send an input the timer0 of the PIC (by adjusting a variable resistor connected to 5V & Gnd) via pin #6 (RA4/T0CKI/C1OUT). The issue is that I do not know what function to use to read the input and act accordingly.
Can anyone suggest a (if not the) function I should use.
Thanks a lot in advance.