We supply power to the board, relay, and hammer with a 12VDC/2A transformer. The USB cable isn't plugged into anything right now.The Arduino's digital pin 8 output only makes the relay switch, causing the hammer to swing in or out.When I serial print my steps, everything seems to work as it should. However, when not all swings are actually completed, the serial monitor appears to miss a println statement.
return (month > 4 && month < 10) ||
(month == 4 && day >= 1) ||
(month == 10 && day <= 31);
Looking at it now, I see that this code is more complex than what I actually need."
