Click here to Skip to main content
15,844,477 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
there are two computers communicating to each other by means of Parallel
port, that is data is transferred from one computer to other by the parallel
ports. the data line that joins the both computer is four bit, that is it can
transmit four bits at a time. And the communication protocol is
duplex(system composed of two connected parties or devices that can
communicate with one another in both directions). But in only one direction
at a time. And to each of the data line, LED is connected which glows when data bit one
or high ("1") is transmitted through the line. and it doesn't glow when data
bit is zero or low("0")when no data is transmitted through the computer, a test led is connected which glows showing NO COMMUNICATION. And turn off when communication starts

I need to write a program for it as my college assignment n i m just a beginner to c++ so need some help on it and also can i work on ms visual for it on i need turbo or smth like that
Posted
Updated 6-May-11 23:56pm
v2
Comments
Richard MacCutchan 7-May-11 5:31am    
MS Visual C++ will be fine for the development of such a project; there is a free version at http://www.microsoft.com/express/Windows/
Azwar Habib 17-May-11 15:17pm    
i wrote the program its working fine but im having difficulties in building circuit
do i have to connect data pins of both parallel ports or parallel to status?as i have to connect leds in between to show data communication.

1 solution

The place to start if Google: "parallel port communication c++" gives many good starting points.
http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=parallel+port+communication#hl=en&pq=parallel%20port%20communication&xhr=t&q=parallel+port+communication+c%2B%2B&cp=29&pf=p&sclient=psy&source=hp&aq=0v&aqi=&aql=&oq=parallel+port+communication+c&pbx=1&fp=a19d57c9b1bb4a83[^]

In future, try starting with research: it is a skill you will need in almost any career (other than those using the Magic Words: "Do you want fries with that?")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900