Shop OBEX P1 Docs P2 Docs Learn Events
Continue running program while waiting for SERIN — Parallax Forums

Continue running program while waiting for SERIN

ItsMeNickItsMeNick Posts: 19
edited 2005-11-17 17:23 in BASIC Stamp
Hi there,

Is it possible to have a program continue to run (i.e a loop) while waiting for a SERIN command to receive data?

Thanks,

Nick

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-11-17 17:23
    No, the BASIC Stamp is a single-task device. You can enable a time-out with SERIN so that it will jump out of the SERIN function if no data arrives within the specified period.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.