Witam
Buduję właśnie stacje meteo na atmedze8 i LCD 2*16.
Napisałem program testowy do LCD ale kiedy tylko próbuję go wrzucić Bascom się zwiesza
Proszę o pomoc.
kod:
$regfile "m8def.dat"
$crystal = 4.000
Config Lcdpin = Pin , Db4 = Portb.2 , Db6 = Portb.3 , Db6 = Portb.4 , Db7 = Portb.5 , E = Portb.1 , Rs = Portb.0
Config Lcd = 16 * 2
Dim A As Byte
Cls
Lcd "STACJA METEO"
Do
Locate 1 , 2
Lcd "STACJA METEO"
Wait 1
'Shiftlcd Right
Cls
Loop
End
Proszę o pomoc.
Buduję właśnie stacje meteo na atmedze8 i LCD 2*16.
Napisałem program testowy do LCD ale kiedy tylko próbuję go wrzucić Bascom się zwiesza
kod:
$regfile "m8def.dat"
$crystal = 4.000
Config Lcdpin = Pin , Db4 = Portb.2 , Db6 = Portb.3 , Db6 = Portb.4 , Db7 = Portb.5 , E = Portb.1 , Rs = Portb.0
Config Lcd = 16 * 2
Dim A As Byte
Cls
Lcd "STACJA METEO"
Do
Locate 1 , 2
Lcd "STACJA METEO"
Wait 1
'Shiftlcd Right
Cls
Loop
End
Proszę o pomoc.