Hallo!

Versuch mal das:
Code:
$regfile = "m8def.dat"
$crystal = 1000000
$hwstack = 100
$swstack = 100
$framesize = 100


Config Lcd = 16 * 2
Config Lcdpin = Pin , Db4 = Portc.2 , Db5 = Portc.3 , Db6 = Portc.4 , Db7 = Portc.5 , E = Portc.1 , Rs = Portc.0
Config Lcdbus = 4
Cursor Off
Ddrb = &B11111111
Ddrd = &B00000000
Portd.2 = 1
'Declare Sub Keypressed

Cls

Do
Debounce Pind.2 , 0 , Keypressed
Loop
End

Keypressed:
Locate 2 , 1
Lcd "mp3"
Return