my project has two units
1- control unit.
2- ballot unit.
i have completed control unit having a pic18f452 connected with barcode scanner and sdcard and tft display.in control unit sdcard contains data of voters from which data is read and compared with the one coming from barcode scanner. and displaying on the glcd/tft that if matched can cast vote.
problem:
now the problem is i m not getting idea how can i make my control and ballot unit communicate i-e ballot unit have switches with leds. now when glcd of control unit display that voter can cast vote then voter will press switch of the desired party to be voted and control unit will recive message that vote have been casted and voter is not allowed to press multiple switches.....
can anyone please help me in my problem
i m using mikroc pro v 4.15 or 5.16 and proteus v7.8.
my control unit code and ballot unit code and schematic is attached