Wenn ich diesen Code unten mit dem Atmega644p $regfile = "m644pdef.dat" ausführe kommt die Fehlermeldung.
Wenn ich die Routine mit einem Atmega32 $regfile = "m32def.dat"aufrufe , läuft das Programm.
Code:$regfile = "m644pdef.dat" $crystal = 16000000 $hwstack = 32 $swstack = 10 $framesize = 40 Config Rc5 = Pinb.2 Enable Interrupts Dim Address As Byte , Command As Byte Do Getrc5(address , Command) If Address = 0 Then Command = Command And &B01111111 End If Waitms 50 Loop End
Lesezeichen