Hallo,
die Bedeutung steht ja gleich dahinter:
Es wird gewartet bis die Takleitung SCL low wird, oder evtl. schon wieder ein STOP erkannt wurde.Code:// Wait for SCL to go low to ensure the "Start Condition" has completed. // If a Stop condition arises then leave the interrupt to prevent waiting forever.
in Bascom könnte das IMHO so ausschaun:
Die Schleife wird solange wiederholt wie PB7 auf 1 ist und USIS.USIPF nicht auf 1 geht.Code:while (Portb.7 = 1 and not USIS.USIPF = 1)
Hab das jetz aber nur auf die schnelle zusammengereimt![]()







Zitieren

Lesezeichen