This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SEND TEXT file with serial port

Dear All,

How do I send file on serial port?

Thanks in advance

Michele

Parents
  • The OP didn't say which direction the "file" was to be sent!

    I guess there must be at least a 50% chance that he wanted to send it from the PC to the microcontroller...

    In that case, it'd be easier to just do:

    COPY file COM1:
    

    "You can send any file"

    It would not be a good idea to send anything other than a text file this way...

Reply
  • The OP didn't say which direction the "file" was to be sent!

    I guess there must be at least a 50% chance that he wanted to send it from the PC to the microcontroller...

    In that case, it'd be easier to just do:

    COPY file COM1:
    

    "You can send any file"

    It would not be a good idea to send anything other than a text file this way...

Children
No data