Check the state of a relay or a switch

Discussion in 'Questions (Windows Mobile)' started by chr, Sep 19, 2008.

  1. chr

    chr New Member


    I have a PDA Asus636.
    I want to make a small program, in basic4ppc, which is capable to check the state of a relay or a switch.
    My questions are, how to use the pins of the connector and how to check the state in the program.

    Long time ago, on my old 8086 computer, I used two pins of the parallel port. When connected, an interruption is generated. In the software, I modified the interruption routine to set a flag, which I used in the main program. I want, if possible, something similar on my asus.
  2. taximania

    taximania Well-Known Member Licensed User

    Perhaps the projects on my website might be of some use to you.
    I'm still working on a USB connected 'thingy' ;)

    My electronic projects
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice