« Tech Support: Expansion I/O numbers | Main | Our THIRD television appearance! »

Tech Support: Bidirectional I/O trick

Kim asked:

Is it possible to use just one I/O on a XBIO16 with bidirectional I/O's and connect both a button and a LED to one I/O and when the button goes low the input changes to an output and turns on the LED (and stays until canceled by the program) ?

Kim, glad you asked that :-) Yes it can be done. I've always wanted an excuse to do that myself. It is the only way I can think of to sensibly use a bidirectional I/O as both an input and an output at the same time. I can see how you would use it to latch and display a user request until it has been completed.

You can even simulate it in SPLat/PC, but only on controllers with bidirectional I/O like the CC16 (not expansion boards). SPLat/PC knows about bidirectional points on controllers but not on expansion boards.

TrackBack

TrackBack URL for this entry:
http://www.splatco.com/cgi-sys/cgiwrap/microcon/managed-mt/mt-tb.cgi/59

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


About

This page contains a single entry from the blog posted on July 24, 2007 4:28 PM.

The previous post in this blog was Tech Support: Expansion I/O numbers.

The next post in this blog is Our THIRD television appearance!.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.33