I wrote a program using ccp1.It is actually a water level meter using pic16f628A. The idea is to use capacitance of two wires in the water to measure water level. I want to measure water consumption in 24 hours. I used interrupt in picbasic pro to make 24hr clock which affected my level reading because ccp1 and 24hr clock use time. The clock, because of the interrupt, stops ccp1 momentarily, the reading is erratic. How can I solve this problem can some one help, please.
Thank you
Obaid
Thank you
Obaid
Last edited: