Für dieses Forum muß Javascript im Browser aktiviert werden!
Kommentar: Einfügen von HTML im Kommentar: Link einfügen: <a href="LINKURL" target="_blank">LINKTITEL</a> Bild einfügen: <img src="BILDURL"> Text formatieren: <b>fetter Text</b> <i>kursiver Text</i> <u>unterstrichener Text</u> Kombinationen sind auch möglich z.B.: <b><i>fetter & kursiver Text</i></b> C2 Quellcode formatieren: <code>Quellcode</code> ASM Quellcode formatieren: <asm>Quellcode</asm> (Innerhalb eines Quellcodeabschnitts ist kein html möglich.) Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst ! > Hmm.. too bad... I've build in a pause (sleep 1000) after the hwcom.send command. And still nothing. > > This time I waited a while (a few minutes) and the CC2 units keeps repeating the first character ("D"). > Again I tried to switch off the handshaking on both the CC2 (removing the jumpers) and my computer, but that didn't help either. > > I'm still hoping someone can help me.... > > Regards, Remon. > > > Hi Remon, > > > > its easy to tell, you forgot to wait. > > CC2 is many times faster than the serial interface is. > > And when you tell it to send the string, after the D is out, > > obviously the CC2 software changes the contents of the rest > > of the string in memory. > > > > Simply add a wait for hwcom ready before you touch the > > string variables again, and all will work as you expect it to do. > > > > Martin