|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Concealed Scott Danks Wed, 10 May 2000 10:28:14 -0500 |
Wed, 10 May 2000 10:28:14 -0500
Subject: Re: [ECS] I/O card
I have an I/O card that was working before with my events . . . .
I know Mark changed the I/O-Port-byte where it has to be referenced now. But I'm still
having trouble with it. I have a PIA (8255) (Well actually three chips on a card from
Quatech PXB-721) ANYWAY, you have four addresses to talk to on EACH chip. One is the
control port, and the other three are the 8 bit ports, A, B, and C. I have an event
that only has an entry like this to setup the chip:
Do pia control set 155
pia control is setup to be a type of i/o-port-byte at address 303hex = 771 Dec.
This should setup the chip to be an input only. Then I have to read the address 768
to get the input. I defined the pia a as i/o-port-byte too. Then I have an event that
looks like:
Do pia input a set pia a
As I understand this is needed to make the i/o-port-byte work now. Does this sound
like this is what is needed? or do I misunderstand what's needed? I may still have
a hardware problem too, but this did work before.
Any suggestions would be appreciated.
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects