hello,im new around here and im not limited internet connection. im doing a project named automatic handwash with auto refill. well here is my coding. im using mikroC for the coding.
based on the coding, i manage to get all the washing circuit to work, but my problem is on the refill circuit as i dont know the coding. i know that port A can be used as ADC but i dont know how to use it. my liquid level sensor circuit work properly but i need the coding on PIC. i want to make when port A2 and A3 read 0V,it will turn on port D2 and D3.. can anyone help me?? im really noob in this:-(
yes the output is 5V..but i need it to be 0V which means the PIC read it as logic 0. it is the same circuit actually. but i make it 2. i will attach my circuit. im sorry mate.