Hi
Is it possible to invert the input of an A2D.
What i want to do is read the the A2D then swop it around.
so if the voltage is 0 i want to change the ADRESH and ADRESL
to 1s and if voltage is 5 the ADRESH and ADRESL to 0s.
You can do anything you want with the data once you've got it, but EXACTLY what are you trying to do?, just invert the data? - in which case you need XOR.
thanks for the help.
i will try it later.
i want to use the data in a delay timer.
but i just need to invert the data.
so if the voltage is high the timer would be fast.
if voltage low timer will be slow.
thanks for the help.
i will try it later.
i want to use the data in a delay timer.
but i just need to invert the data.
so if the voltage is high the timer would be fast.
if voltage low timer will be slow.