Shop OBEX P1 Docs P2 Docs Learn Events
Pollin on the BS2p40 — Parallax Forums

Pollin on the BS2p40

AA Posts: 22
edited 2007-08-03 00:59 in BASIC Stamp
Hello,

Does anyone know if there is a way to seperate the auxio and main io when using the pollin commands?
I need to monitor a pin in the auxio.· It seems that it monitors the same #pin from both the auxio and mainio.· I realize I can check the bit status and decide where to go from there.· But I would like to avoid going into the routine given by the pollrun command unless the·actaul auxio pin is triggered.

Thanks

Aaron

Comments

  • Tracy AllenTracy Allen Posts: 6,664
    edited 2007-08-03 00:59
    Could you post a little program that illustrates what you are seeing with the overlap of mainio and auxio for polling? That observation puzzles me. I always thought that you could set them separately. The state variables are separate, 32 bits in scratchpad locations 128 - 131

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
Sign In or Register to comment.