Shop OBEX P1 Docs P2 Docs Learn Events
Time Limit for debugin — Parallax Forums

Time Limit for debugin

electrofreakelectrofreak Posts: 2
edited 2007-12-13 09:12 in BASIC Stamp
I am working on a project, and I need some way to allowing the basic stamp to wait upto 5 seconds for a console input. If it doesn't get any input, it will continue. How would I accomplish this?

Any help is greatly appreciated.

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2007-12-13 08:54
    Use SERIN with pin 16. Then you can set a timeout value (BS2 or later, not BS1)

    regards peter
  • electrofreakelectrofreak Posts: 2
    edited 2007-12-13 09:12
    Thank you. I'll look into that.

    I guess I should have mentioned it is a BS2.

    Programing these things is so fun.
Sign In or Register to comment.