Hallo!, versuch doch mal den folgenden Code:
Ist nur mal eine Idee, habs nicht getestet.


Code:
$regfile = "at12def.dat"
$crystal = 1200000
$tiny
Config Portb.0 = Output  'Port setzt auf Augsgang
Config Portb.1 = Output  'Pin setzt auf Eingang !
Config Portb.2 = Output
Config Portb.3 = Output
Config Portb.4 = Output
Eins:
Portb = 1
Waitms 200
Portb = 2
Waitms 200
Portb = 4
Waitms 200
Portb = 8
Waitms 200
Portb = 16
Waitms 200
Goto Eins
Viel Erfolg Bernd