Using the Same Input to Trigger Multiple Arduinos
If you ever have a project using two or more Arduinos, it’s likely you’ll want them to work together.
Say for example you have one Arduino connected to an LCD shield, and another Arduino controlling an LED matrix. You want both to do something when you press a single button – how can this be done?
It turns out to be extremely easy. This video will describe in detail how to trigger multiple Arduinos with a single input.
/* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached to pin 2. The circuit: * LED attached from pin 13 to ground * pushbutton attached to GND through pin 2 on two (or more) Arduino's * Note: on most Arduinos there is already an LED on the board attached to pin 13. created 2005 by DojoDave <http://www.0j0.org> modified 30 Aug 2011 by Tom Igoe Modified 16 APR 2015 by Michael James
If you like this tutorial, check out some of out very best by signing up for our free Arduino Crash Course below.