$regfile = "m8def.dat"
$crystal = 8000000
Config Lcd = 16 * 2
Config Lcdpin = Pin , Db4 = Portd.0 , Db5 = Portd.1 , Db6 = Portd.2 ,
Db7 = Portd.3 , E = Portd.5 , Rs = Portd.4
Config Lcdbus = 4
Config Portd.7 = Output
Config Portc.0 = Input
Config Portc.1 = Input
Config Portc.2 = Input
Config Portc.3 = Input
Config Portc.4 = Input
Config Portc.5 = Input
Cls
Locate 1 , 1
Lcd "blub 1"
Locate 2 , 1
Lcd "blub 2"
Waitms 10000
Do
Cls
Locate 1 , 1
Lcd "hui: "
Locate 2 , 1
Lcd "buh: "
Locate 1 , 12
Lcd "00:00"
Locate 2 , 12
Lcd "12:00"
Wait 10
Locate 1 , 12
Lcd "00:10"
Locate 2 , 12
Lcd "11:50"
wait 10
Cursor Off
Wait 600
Loop
so in etwa sieht der text aus ^^ beispiel.... am mega8 habe ich per
fusebits nicht verstellt.... und standartmäßig sollte der dann ja mit 1
Mhz laufen (-: