Continue to Site

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.

  • 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.

Help

Status
Not open for further replies.

sonic45

New Member
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
 
You read the ports.

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.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top