| ??? 07/31/01 18:05 Read: times |
#13700 - RE: Reading multiple bytes with 8051 |
Hi.
1.Prepare RAM for buffer ( assign address). 2. Prepare 1 byte RAM for counter. 3.Initial counter = 0 4. Every time serial data come put SBUF in buffer+counter and inc counter. 5. check if counter = 6 then clear counter and procerr data in buffer. not only read stream data you can use this concept to recieve protocal from another controller or PC. |
| Topic | Author | Date |
| Reading multiple bytes with 8051 | 01/01/70 00:00 | |
| RE: Reading multiple bytes with 8051 | 01/01/70 00:00 | |
| RE: Reading multiple bytes with 8051 | 01/01/70 00:00 | |
| RE: Reading multiple bytes with 8051 | 01/01/70 00:00 | |
RE: Reading multiple bytes with 8051 | 01/01/70 00:00 |



