I have LM35 temperature sensor that connected to AN0 leg in PIC18F microcontroller.
I need help in write the C code that convert the analog voltage in output of the sensor to the digital value.
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Thu Jul 22, 2010 7:14 am
Look in the Examples directory of the compiler and study the A/D example programs. _________________ The search for better is endless. Instead simply find very good and get the job done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum