Rules | Recent posts | topic RSS | Search | Register  | Log in

driver for 8255

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Elementary Electronic Questions
Author Message
e_eja



Joined: 15 Nov 2003
Posts: 145
Helped: 4


Post06 Jan 2005 4:52   driver for 8255

Hai, everyone
i try to drive the port 82C55 via pararel port, but ihave problem with latch that mention on schematics, i attach all port 8255 wih sourcing led and i inisialize the port tobe output. when i running program the problem arise
1. led on port A that should ligh on it's following this condition off-on-off again (some kind this port don't have latch condition).
2. when i remove the code
Quote:
Procedure Form1.Button1click(sender:Object);
Begin
...
outC($0); --> this code i remove
end;


from the program the output led on port A and port B following righ program (off-on)
here's my schematics and my code in delphi

[/img]



Sorry, but you need login in to view this attachment

Back to top
Regnum



Joined: 17 Jun 2004
Posts: 264
Helped: 12
Location: Hurlingham


Post06 Jan 2005 5:14   Re: driver for 8255

take a look at:
procedure form1.port_in(add2:byte):byte
it returns a byte, so it should be a function rather than procedure.

Sorry. The snippet you've posted isn't enough complete to make a more in-depth conclusion.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Elementary Electronic Questions
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap