This is the code for an Arduino-based traffic light/timer. Hardware is set up as follows: -Red LED on pin 13 -Yellow LED on pin 12 -Green LED on pin 11 -push-buttons on pins 2 & 3 -toggle switch on ...
When using an Arduino Uno with an Adafruit Motor Shield V1 (or a common clone), a hardware conflict arises between controlling DC motors and a servo simultaneously. When both libraries try to control ...