Ich würd' mal folgendes probieren, bin aber kein CMU Cam Guru
Code:DIM buf(164) as byte DIM rxchar as byte DIM ix as byte DIM tmp as byte do If Ischarwaiting() = 1 Then ' if data-> workout Rxchar = Inkey() Select Case Rxchar Case &HFE: ' start frame ix = 0 Case &HFD: ' end frame EXIT DO Case Else: incr ix buf(ix) = rxchar End Select End If Loop for tmp = 1 to ix rxchar = buf(tmp) print hex(rxchar);" "; next print END
Lesezeichen