Hmm, now I have problem with reading from the USART instead..
I searched the forum and found ALOT of threads, but none that really solved my prob..
I want to read a string of chars, like 16, BUT if a CR (13) occurs it should skip the rest.
I.e I want to be able to write strings UP to 16 chars in my terminal program, and get them as a string or array.
This seem to be a bit harder than I first thought ?
It was very easy to read single chars with HSERIN.. and I thiought it would be easy with something like
HSERIN [ str rxarr\16\13 ]
..But no ?
Does anyone have a bit of sample code that do this using HSERIN ?
Bookmarks