hi,
i m using atmega8,11.0592MHz and 16x2 LCD . whenever i write a simple prgm in codevision for displaying something(e.g.constant string like my name,using lcd_puts), it shows it properly.
But when i create code for my main objective(including timers,ext interrupts,adc and lcd), and i write code for showing some value of adc on lcd, or using lcd functions in ISR,it shows random charactes on lcd.
What could be the problem?
How is your simple program build. It just displays something and stop or it send in a loop the same message? If it stop after message is sent, then could be an EMC problem. Did you use 0.1 uF near LCD power supply pins?. Did you try shorten LCD cable ?
marie65