Hello everyone! I am working on pic 16f1847 (18pin Dip) capacitive sensing module. I am trying to glow a led using capacitive sensing for that I am also using buffer ic in the hardware. I am using internal oscillator(8Mhz). I have taken taken led on RB1 and taking input from RA1 to the load pcb(for touch sensor). I haven't yet written code for all these. I have read the datasheet for configuring capacitive sensing module but I didn't got whole of it. Kindly anyone could help me that which registers I need to configure for this project, and how to calculate time base to measure the change in frequency of the capacitive sensing oscillator. I have to write my code in mikroc pro for pic.