Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/14/11 13:06
Read: times


 
#181577 - Loop
Responding to: ???'s previous message
A "full string" would be multiple characters stored after each other in memory. Either with a special terminating character at the end, or with a length stored somewhere.

The serial interface processes data one character at a time.

So wouldn't the most obvious approach be to implement a loop that iterates "len" times (if the string is stored with a length value) or until a magic end-of-string character is found, and sends found characters to the serial port after having made sure that the serial port is ready to accept more data?

So where are you stuck?

List of 10 messages in thread
TopicAuthorDate
RS232            01/01/70 00:00      
   Loop            01/01/70 00:00      
   Be specific            01/01/70 00:00      
   PB&J            01/01/70 00:00      
   sounds like a cue for a song...            01/01/70 00:00      
      Some advice            01/01/70 00:00      
         New Thread Would Help            01/01/70 00:00      
            it would also help if ...            01/01/70 00:00      
               How to post legible source code            01/01/70 00:00      
                  new thread            01/01/70 00:00      

Back to Subject List