Shop OBEX P1 Docs P2 Docs Learn Events
RS232 serial interrupt? — Parallax Forums

RS232 serial interrupt?

CoolguyCoolguy Posts: 26
edited 2007-06-05 14:15 in BASIC Stamp
Is it possible to have Basic Stamp doing some other work and only response to the RS232 serial data input when they are available?

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-06-04 20:49
    The stamp does not buffer the serial input so if it were away doing something else at least part of the serial input would be lost. Also the stamp does not have interrupts.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2007-06-05 00:14
    I'm currently working on an RS232 daughterboard for the Parallax MoBoStamp-pe. By using one of the onboard coprocessors to handle the serial I/O for this board, it will be possible to buffer characters in the background while the BASIC Stamp is busy doing something else. However, the BASIC Stamp will still have to poll the coprocessor periodically to see if any characters have been buffered. Release date is likely to be a few months away.

    -Phil
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-06-05 14:15
    Meanwhile, http://www.rhombus-tek.com/co-processors.html -- their "Simple Multi-Tasking" 8-pin coprocessor has a built-in recieve-only buffered serial port, so that might solve your problem.
Sign In or Register to comment.