sending ascii prop to prop
bnikkel
Posts: 104
in Propeller 1
hi everyone, quick question. i am sending 16 variable length names from one prop to another in "C" and here is a snipit of the code im using for each name. is there a faster or cleaner way to capture the incoming letters? thanks.
rxchark = 0; p = 0; while(rxchark != '\r' && rxchark != '\n') { // no CR or LF rxchark = fdserial_rxChar(transceiver); // get the name of the button to save button1[p] = rxchark; // append char p++; } button1[p] = '\0'; // append NULL
Comments
im sending
button0 contains "low beams"
Have you tried this?:
it may be somthing weird with the transceivers im using. can i connect the TX from one prop directly to the RX of another? to se if i can then receive a zero?
-Phil
I think you're probably right.
sending...
//
JonnyMac i adjusted your suggestion a little.
receiving...
but now how to i get whats stored in strName[19] into button0[19]? button0 = strName; dosent seem to work.