ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-DIO24 question

To:
Subject: [ts-7000] Re: TS-DIO24 question
From: "Mike Dodd" <>
Date: Sun, 20 Nov 2005 15:56:41 -0000
> When a TS-DIO24 expansion I/O board port is configured for output,
can the 
> application read that port to get the current state of the output
bits, so 
> I can change just one bit?

The answer is yes, the application can read the port to get the
current state. I uploaded an example program that flips a bit in
response to pressing keys 0-7 (you have to also press Enter after the
digit). The bits are displayed as 1's and 0's, so you don't have to
mentally convert from hex to binary. :)

You can also press A, B, or C to choose the port to test. If you want
to change the card (i.e., for the base address selection), you'll have
to do that in the source code and recompile.

Press X to exit the program.

Please see port_test2.c in the Files section.

Regards, Mike






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU