Two Arduinos get out of sync after a few seconds
What is the reason for this drift and how can I eliminate it?


two solutions:

1) try using crystal oscillators;

2) try driving on arduino with the other arduino's clock output.