Take a look at the hardware async serial communications routine on the Melabs website. It is exactly what you want, but it does it in the form of a ring buffer. If you don't need this feature, just reset the pointers to 0 after the transfer is complete. I believe the name is "Aserbuf" or something close to that. There is a version written for the 18 series.Originally Posted by Charles Linquis
Bookmarks