Hang on I got confused. I meant get ADC value and subtract 354 then divide by 5.79, I think!
But it still gives weird results, certainly not the results I get by using the calculator.
Al
hi Al,
Would you like me to write and post a HEX for a testing program.??
I will look at your sums.
E.
EDIT:
Program is finished, runs in simulation OK,, will try in a PIC with LCD tomorrow and then post the test1.hex file to the Thread....phew!
Last edited: