Arduino Trigger

Hi guys, I was wondering if anyone could help me. I have two computers with two diferentes programms and I needed a trigger device which would run the especific function on these programms, but i need them to start at the same time, I've been cracking my head over this and haven't come up with anything, I've blanked out'. I just have no clue how to do it and which arduino would be mostra fitted for this project, by the way it's a science project.

Thanks guys, I hope someone can help me. :)

Welcome to the forum!

What starts the program(s) on the computer(s) now? Is it a button press? A mouse click? A signal from a switch?

What do you mean by " start at the same time"? within 1 minute? within 1 second? within 1 microsecond?

You need to be more specific about what you are trying to do before anyone can help you

I have the same problem.

Arduino #1 on one computer would have to be connected to Arduino #2 on the other computer and digital I/O communication would have to be added to each Arduino code. I would try to use the smallest micro controller possible.

This is a simple outline.

Computer #1

int pinA = 3;
.
.
.
pinMode(pinA,OUTPUT);
.
.
.
digitalWrite(pinA,High);
trigger device

Computer #2

int pinB = 4
.
.
.
pinMode(pinB,INPUT);
.
.
.
val = digitalRead(pinB);
.
.
.
if (val >0)
{
trigger device}
.
.
.