im using a pc1602aru-h lcd with a pic18f2431
ive coded my pic withthere is probably something wrong with my code... but however it doesnt stop the fact that im getting abolsutely nothing coming up on my lcd. its stays as blank as it ever has been.Code:define osc 20 Define lcd_dreg portc define lcd_dbit 4 define lcd_rsreg portc define lcd_rsbit 0 Define lcd_ereg portb define lcd_ebit 3 define lcd_bits 4 define lcd_lines 2 define LCD_commandus 1500 define lcd_dataus 44 pause 1000 main: lcdout $FE,1,"hello" lcdout $FE,$C0,"world" pause 1000 goto main end
im pretty sure all my wiring is correct and ive checked there is 5 volts across vss and vdd. anyone help me with this one? dont worry ive checked pretty much every thread i could find on this but to no avail
thanks




Bookmarks