Pisze program w Bascomie na Atmege8 i mam problem z obsługą wyświetlacza nie wiem czemu nic oprócz kwadratów nie chce sie wyświetlać
program wygląda następująco:
$regfile = "m8def.dat"
$crystal = 8000000
Config Lcd = 16 * 2
Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7 , E = Portd.3 , Rs = Portd.1
Initlcd
Cls
Lcd "Hello world."
End
układ pracuje z zewnętrznym kwarcem 8MHz
linia Rw lcd jest podłączona do PortD.1 moze to jest istotne
ma ktos jakis pomysl co jest nie tak ??
program wygląda następująco:
$regfile = "m8def.dat"
$crystal = 8000000
Config Lcd = 16 * 2
Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7 , E = Portd.3 , Rs = Portd.1
Initlcd
Cls
Lcd "Hello world."
End
układ pracuje z zewnętrznym kwarcem 8MHz
linia Rw lcd jest podłączona do PortD.1 moze to jest istotne
ma ktos jakis pomysl co jest nie tak ??