abacusdheda
Junior Member level 1
Atmega8 LCD problem
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?
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?