I'm trying to get the DIO header pins to work on the TS-8100/TS-4200
combination of boards. So far I'm able to control PIN #1 of the DIO header
pins with the following script I wrote:
#!/bin/bash
# Set the MUXBus to TS-8100
peekpoke 16 0x30000020 0x181 > /dev/null
# Direction of output register (1 - output)
peekpoke 16 0x30000408 0x1 > /dev/null
# Output data register (0 - low, 1 - high)
peekpoke 16 0x30000404 0x1 > /dev/null
so this would turn on PIN #1,
My question is, how can I turn on the rest of the 14 pins on the DIO header?
How do I flip each bit individually and where/how would I do that? Their
technical support have not given me a working example of the other pins, only
the 1st one. The scripts that came with my board don't work, the company
claims its not final yet so I am still waiting for their official
images/documentation.
Any help would be nice.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|