zur sicherheit hab ich das auch noch gemacht:
PCF3 rein
das programm reingeladen:
keine led leuchtetCode:$regfile = "m32def.dat" $crystal = 8000000 $baud = 9600 Config Scl = Portc.0 Config Sda = Portc.1 Config I2cdelay = 5 I2cinit Sfior.2 = 0 Portc.0 = 1 Print "Error:" ; Err Portc.1 = 1 Print "Error:" ; Err Waitms 1000 Portc.0 = 0 Print "Error:" ; Err Portc.1 = 0 Print "Error:" ; Err Waitms 1000 Return
Hyperterminal:
Error: 0
Error: 0
usw....
SCL: 4,97V
SDA: schwankt zw. 2,48V und 2,6V - hilft also auch nix
klingt schön langsam nach defekten m32![]()







Zitieren

Lesezeichen