Hallo!
Ich habe hier einen SAA1064 (4 Digit LED driver. http://www.ortodoxism.ro/datasheets/philips/SAA1064.pdf)
Der wird per I²C angesteuert. Bascom hat ja berets die I2C funktion... sobald diese aber ausgeführt wird, bleibt der µC (ein AT90S2313) hängen![]()
hier mal mein Quellcode
"Schritt 1" wird noch gesendet, doch dann bleibt der µC einfach hängen und mach garnix mehrCode:$crystal = 10000000 Config Scl = Portd.4 Config Sda = Portd.3 I2cinit Print "Schritt 1" I2cwbyte &H70 Print "Schritt 2" I2cwbyte 0 Print "Schritt 3" I2cwbyte &B1111110 Print "Fertig" Do Loop![]()
wenn ich die I2cwbyte befehle weglass, bleibt er nicht hängen. hab das gleiche problem auch mit einem Atiny-15L. Woran kann das liegen??
THX 4 Help!
Schoko







Zitieren

Lesezeichen