My first post to the Arduino Forum; I don't know exactly where to post this message. Be kind. ![]()
Problems with "Built-In Example > State Change Detection (Edge Detection)":
-
The link in the header is dead. http://www.arduino.cc/en/Tutorial/ButtonStateChange should be https://www.arduino.cc/en/Tutorial/BuiltInExamples/StateChangeDetection
-
The code starts with the LED on. I think it should start with the LED off, especially given the declaration "int buttonState = 0;". I changed the last if statement to "if (buttonPushCounter % 4 == 0 && (buttonPushCounter != 0))"