Shop OBEX P1 Docs P2 Docs Learn Events
Running More Than One Sensor at a Time — Parallax Forums

Running More Than One Sensor at a Time

HindsCCHindsCC Posts: 1
edited 2014-02-24 12:48 in Learn with BlocklyProp
Hello,

I have been having issues merging programs for different sensors so that they may run simultaneously. A general question for you out there; Is it even possible to run multiple sensors at once? If it's possible, does anyone have advice about how to achieve this. For example, I am trying to run ColorPAL and a PING sensor. I have individual programs for each sensor. Is it possible to merge these into one so that I may run them at the same time?

Appreciating the help,
LT@HindsCC

Comments

  • edited 2014-02-24 12:48
    Yes, one of the advantages of multicolor is that you can make different processors simultaneously execute different parts of your program. What language are you using?

    P.S. ...and even if you're using a single core device, you can take the measurements with such a small time between that it doesn't typically matter that they are not taken simultaneously. More generally many application programs monitor numerous sensors.
Sign In or Register to comment.