I am working on a project at the university on writing a software on how we can control 2 boards from the parallel port of a computer, one board has 8 output relays and 8 TTL, and the other has 8 inputs to the computer.
The program consists on :" reading data from the 2nd board and storing that in a file", or "switching on the relays of the first one or it's TTL's".
The choice between the relay or TTL is made by software,and when I am working on the first board, if data comes from the second one it has to wait in a buffer so that we can continue working with the first one without conflicts.
My program should be written in C++.
Any help you can give is really very appreciated,
Thank you in advance.