Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - FAQ - Zum CC1-Forum - Zum CC-Pro-Forum

Re: RS 232 communication does not work? Kategorie: Programmierung (von Remon Vos - 19.12.2002 15:32)
Als Antwort auf Re: RS 232 communication does not work? von Martin Binder - 19.12.2002 10:40

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


    Antwort schreiben


Antworten:

Re: RS 232 communication does not work? (von André H. - 21.12.2002 8:24)
Re: RS 232 communication does not work? (von Martin Binder - 20.12.2002 8:51)