Stuck? Check the circuit first
In a study of 20 people building Arduino circuits, miswiring and missing components caused 80% of the circuit-related failures1.
Check the circuit
Then check the code
Sources
- Booth et al., CHI 2016: 20 end-user developers building Arduino circuits
- Arduino UNO R3 technical specifications: DC Current per I/O Pin: 20 mA