Shop OBEX P1 Docs P2 Docs Learn Events
SPIN support for writing to text files? — Parallax Forums

SPIN support for writing to text files?

RussMRussM Posts: 27
edited 2013-03-18 13:58 in Propeller 1
Hey everyone. I was wondering what kinds of support SPIN has for creating and writing text files. Everything I found online or from the object database interfaced with an SD card or USB device. I was hoping to avoid this because all of my I/O pins on my propeller board are being used. Are there any programs that can create or write text files in the programs directory on my computer? Thank you!

-Russ

Comments

  • kwinnkwinn Posts: 8,697
    edited 2013-03-18 09:37
    The propeller and spin can send ascii text to the PC via the USB programming cable so it is more a case of having software on the PC to receive that data and write it to a file. There are terminal emulation and file transfer programs that will do this.
  • RussMRussM Posts: 27
    edited 2013-03-18 10:55
    kwinn wrote: »
    The propeller and spin can send ascii text to the PC via the USB programming cable so it is more a case of having software on the PC to receive that data and write it to a file. There are terminal emulation and file transfer programs that will do this.

    Could you suggest any programs to do that?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-03-18 10:58
    RussM wrote: »
    Could you suggest any programs to do that?

    Phil has a program to do this.

    Parallax's AppNote #18 is about doing this topic (so I've been told).
  • RaymanRayman Posts: 14,665
    edited 2013-03-18 13:58
    I've got a ymodem example code around somewhere that will work with, for example, hyperterminal to transfer data to/from your computer as a file...
Sign In or Register to comment.