I have a TS-7500 and a TS-752 baseboard. I have wired up a momentary button
using a 9V battery to hook negative the input ground terminal and positive to
input terminal 8 on the TS-752. When I read the pin (PIN 26) with the switch
off, I get a value of 1. When I hold the momentary button down, I still get a
value of 1. I am using the Dio.c sample application to get the values.
Am I doing something wrong here? Do I understand correctly that it should read
the completed circuit as pulled high? Or am I just really confused?
I am able to control the switch by setting PIN 39 to 1 using the same sample
app. When the pin is set high, I can read using the procedure above on PIN 39
and get 1, when I reset the relay, I read and get 0 as I would expect.
This my first attempt at reading inputs on a board like this. Thanks in
advance for your help.
Jim
------------------------------------
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/
|