Shop OBEX P1 Docs P2 Docs Learn Events
bs2p auxiliary pins — Parallax Forums

bs2p auxiliary pins

ArchiverArchiver Posts: 46,084
edited 2001-12-24 00:57 in General Discussion
There is no way (at this point) to determine the current state of IOTERM.
Checking it would probably require as much code as just setting it to what
you want. Of course, you can keep your own bit-sized variable for use of
IOTERM and just check that. If you have to cross program slots, you can use
GET to push your IOTERM variable into the SPRAM.

When you switch program slots, MAINIO is active.

-- Jon Williams
-- Applications Engineer, Parallax


In a message dated 12/23/01 10:12:34 AM Central Standard Time,
peterverkaik@b... writes:


> Hi,
>
> I've got two questions regarding the BS2p auxiliary pins.
> (I do not have a 2p yet, but am already writing code for it)
>
> Q1.
> Is there a way to retrieve the current IOTERM setting?
> (like the STORE value and active program slot) or do I need to track this
> myself?
>
> Q2.
> When I run another program, is the current IOTERM setting retained,
> or is it reset to MAINIO or AUXIO?
>
>




[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-12-24 00:57
    Hi,

    I've got two questions regarding the bs2p auxiliary pins.
    (I do not have a 2p yet, but am already writing code for it)

    Q1.
    Is there a way to retrieve the current IOTERM setting?
    (like the STORE value and active program slot) or do I need to track this
    myself?

    Q2.
    When I run another program, is the current IOTERM setting retained,
    or is it reset to MAINIO or AUXIO?


    Regards peter
Sign In or Register to comment.