Arduino Advent Calendar Day 05 - Push Button


#1

Need help for the Arduino Advent Calendar Day 5 Guide? Just post on this thread and our highly trained team of Arduino ninjas will be able to help you in no time!


#2

Hi. Having trouble. Wondering if anyone having problems with part 1. Many thanks.

https://imgur.com/a/d6MbV


#3

The photograph looks okay, but I can’t tell if the LED is around the right way. Make sure the long leg (anode, positive) is on the left, and the short leg (cathode, negative) is on the right. The short leg may also have a chord taken out of the yellow casing. Can’t tell from the angle of the photograph.

Make sure you’ve uploaded the code to the Arduino.

Tell us more about it. Especially; what’s the trouble? What didn’t happen the way you expected?


#4

Thank you so much. You rock! Yes LED was wrong way around! <3


#5

Also to make Program 1 work, the tilt switch should be assigned to pin 7 as opposed to pin 2 :slight_smile:


#6

Well spotted! Program 1 should use pin 7 to match up with the overview and assembly steps.