Quote Originally Posted by burak450 View Post
Can you give me the right code ?


will only changing variable type byte to word be enough????
Probably not...
Think about this...
How long does it take for ADCIN to execute?
How long does it take for LCDOUT to execute?
And fix your power supply...