The naïve solution found in thousands of Arduino tutorials do the same thing ... and there are a few things you can do in software to reduce the number of conflicts when using more than one ...