Shop OBEX P1 Docs P2 Docs Learn Events
Writing to file — Parallax Forums

Writing to file

whoraclewhoracle Posts: 6
edited 2006-12-11 17:36 in BASIC Stamp
Can the basic Stamp II write to file?

If so how?

Comments

  • whoraclewhoracle Posts: 6
    edited 2006-12-11 07:07
    you gota be kidding me? From the lack of responses i take it this stamp can not write to file on a computer? jebus!
  • stamptrolstamptrol Posts: 1,731
    edited 2006-12-11 12:52
    Not knowing what you're really trying to do, I can tell you that a simple way to save data to a file is to open hyperterminal and set it to Capture text.
    The stamp can serout to the PC's serial port and hyperterminal will keep appending everthing to the file you set up when you started hyperterm.

    Cheers

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-12-11 14:34
    Oh, come on guy. You post at 6:00 PM on a Sunday, and you expect an answer within 4 hours? This is an on-line forum, not a 24-hour support line.

    The BS2 is designed for embedded applications that DON'T require a file system, usually. Your PC has a file system for applications that DO require a file system. And yes, you can easily use SEROUT 16, 16846, [noparse][[/noparse]DEC MyData, 13] commands on the BS2 to send data to your PC. You'll then have to run some program on the PC (like Hyperterm, or your own application) to capture that data and write it to the PC's file system.

    I mean, the BS2 only has 26 bytes of RAM on it. How are you going to attach and run a file system on 26 bytes of RAM?
  • Roger PiersonRoger Pierson Posts: 62
    edited 2006-12-11 14:53
    Take a look at these two devices that write to an SD card:

    www.roguerobotics.com/products/electronics/ummc
    www.sddatalogger.com/

    And have some patience next time! This forum is FILLED with very helpful people who are very generous with their time.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Roger Pierson
    Senior Electronics Technicain
    DTI Assoicates
  • Mike GreenMike Green Posts: 23,101
    edited 2006-12-11 14:58
    There's also StampPlot <http://www.selmaware.com/stampplot/&gt; which can be used to write to a PC file. This is a program that runs on a PC and connects to the Stamp via a serial port. It's more designed for displaying information, but can act as a data logger.
  • LSBLSB Posts: 175
    edited 2006-12-11 16:47
    ...and I suppose one might consider eeprom a file of sorts. Change the chip and write as many files as you like.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-12-11 17:36
    Hello,

    ·· This question was answered for you in the following thread.

    http://forums.parallax.com/showthread.php?p=618510

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.