hi everyone. Im working with pic 18f4620 and a0,a1 pin use as analog input. in program I need to check these pins low(0) or high(0.1,.0.5,1.5,.......any valuebetween 0.1-5). can I use function like if(input(pin_a2)) or this function only use digital input or output?
thanks for answers, yes I know that I can use this ' Func if(input(pin_a2))' but the question is this input a2 using as a analog input can I use that with analog input