Shop OBEX P1 Docs P2 Docs Learn Events
Reading in from serial — Parallax Forums

Reading in from serial

ArchiverArchiver Posts: 46,084
edited 2004-04-09 15:11 in General Discussion
Hey guys i have a question to ask.
I need to read in from the serial port.
Is it possible to read in from a file without hitting a key on the keyboard
I need to read in a series of 1's and 0's 00 to 10
thanks
kg_mini1098@y...


Thank you very much

Karen Ginsberg
kg_mini1098@y...
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-09 15:11
    Hi,

    As long as you've written the Stamp program such that it is
    waiting when the data comes along, it will grab it without any
    further action on the operator's part. Just make sure you don't
    expect the stamp to do too much with each character between each
    arrival. Better to grab the whole series, then process them when
    you're not expecting more data.

    Tom



    --- In basicstamps@yahoogroups.com, Karen Ginsberg <kg_mini1098@y...>
    wrote:
    > Hey guys i have a question to ask.
    > I need to read in from the serial port.
    > Is it possible to read in from a file without hitting a key on the
    keyboard
    > I need to read in a series of 1's and 0's 00 to 10
    > thanks
    > kg_mini1098@y...
    >
    >
    > Thank you very much
    >
    > Karen Ginsberg
    > kg_mini1098@y...
    > Do you Yahoo!?
    > Yahoo! Mail - More reliable, more storage, less spam
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.