Shop OBEX P1 Docs P2 Docs Learn Events
Sensors reading — Parallax Forums

Sensors reading

ben88ben88 Posts: 2
edited 2011-04-06 08:27 in BASIC Stamp
Hi

I'm using the BS2P40 chip.

I'm wondering if it is possible to do multiple functions like reading the sensors and running the main programming code at the same time?

thanks.

Comments

  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2011-04-06 04:54
    Welcome to the forum

    No ALL Basic Stamps can only do one thing at a time

    If you need to this then the Propeller is what you need to use
  • ercoerco Posts: 20,256
    edited 2011-04-06 08:27
    ben88: It is true that the Stamps can only do one thing at a time. But since they execute thousands of instructions per second, it is possible to write your program so that several things happen sequentially in a very fast loop. Takes a bit of patience and discipline, but it's very possible and well-documented. For many applications this is fine. For true multi-tasking, the Propeller is the answer.
Sign In or Register to comment.