Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Keyboard problem with Arduino Leonardo on: December 29, 2012, 08:24:04 am
Keypad library now has debounce and, from what i can tell, edge detection of some sort, too. Not quite documented but you can look at the multi-key example included in the lib.
2  Development / Other Software Development / Documentation confusion: on: December 28, 2012, 05:48:32 am
Hi, I'm just starting out, and the I'm getting confused about the definition of constant HIGH on the arduino programming language reference, in the constant section, it states:

http://arduino.cc/en/Reference/Constants
"When a pin is configured to OUTPUT with pinMode, and set to HIGH with digitalWrite, the pin is at 5 volts. In this state it can source current, e.g. light an LED that is connected through a series resistor to ground, or to another pin configured as an output, and set to LOW."

I don't understand the last sentence: does it say that you can configure two pins as digital output and set one to HIGH and another to LOW, and connect the two directly? Why is that useful?
Pages: [1]