for topics on protocols refer "data communications and networking" - foruzanelchula said:Protocol, oh, i don't know how to create it, can you help me?.
elchula said:You can explain clearly for me, I didn't yet do this.
You have link for "the 8051 and embedded system "? Send it to me. Thanx
Help me. I want to send an array of data to 89C51 from PC via RS232, then export these data to P1
suromenggolo said:may be problem at delay procedure. If you send 8 character, it's receive first character quickly to array and P0, P2.
after enter delay, receiver second character still wait delay before save to array, so 3rd, 4th .... may be stiill execute delay procedure
I think you must use serial interrupt for this is, or on delay procedure place RI check code, if a data have receive.
elchula said:Help me. I want to send an array of data to 89C51 from PC via RS232, then export these data to P1...i'm a beginner, so I don't know how to do it!!!!!!.
elchula said:Help me. I want to send an array of data to 89C51 from PC via RS232, then export these data to P1...i'm a beginner, so I don't know how to do it!!!!!!.
bsiswoyo said:Hello,
/* PROTOCOL: */
/* 1. 8051 RX wait string PX=nnn[CR] -> X: 0..3, nnn: 0..255 */
/* 2. The second char is port number that assign a value nnn */
/* 3. String is checked and string value convert to byte and assign to port */
/* 4. Send 'OK' if okey, an ERROR if have any error */
/******************************************************************************/
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?