Program for the Arduino board. Wait for a signal. If 1 toggle the onboard led