Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I'm trying to interface a circuit through an 8255 PPI interface chip and then use a c program to manipulate the input. Once the circuit is interfaced to the PC how do I get the data into my c program
Look at the address decoding to activate the 8255's "CS" line. That decoding, plus the addresses of A0 and A1 will give you all 4 addresses of the chip. One of the addresses is a "control" register, the other 3 are the 3 ports.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.