I am confused about the Circuit at that page, because i noticed that pin 2 hasn't connect to the pin 5V of the Ardunio Uno board so how can the pin 2 read HIGH ? Mmm,just because the type of pin 2 is Input Pull-Up? Thx
Well it's not so much that pin 2 is an specific type, all the pins can be made to turn on their pull up resistor by a software command, normally done in the setup function in your code.
Note that example uses