1) Is digital input HIGH the same as boolean true? for example i want a simple function similar to this:
2) Is there a link to arduino API? or is everything based on http://arduino.cc/it/Reference/HomePage
which I find sometimes difficult to find what i'm looking for? I'm sure i sound stupid as everything is well marked and titled but sometimes i'm looking for something specific and it is difficult to find.