+//  This example is Chibitronics Love to Code tested!
 /* 
  Debounce
  
- Each time the input pin goes from LOW to HIGH (e.g. because of a push-button
+ Each time the input pin goes from HIGH to LOW (e.g. because of a push-button
  press), the output pin is toggled from LOW to HIGH or HIGH to LOW.  There's
  a minimum delay between toggles to debounce the circuit (i.e. to ignore
  noise).  
  
  The circuit:
- * LED attached from pin 13 to ground
- * pushbutton attached from pin 2 to +5V
- * 10K resistor attached from pin 2 to ground
- 
- * Note: On most Arduino boards, there is already an LED on the board
- connected to pin 13, so you don't need any extra components for this example.
- 
+ * LED attached from pin A2 to ground
+ * pushbutton attached to pin A3 from ground
+ * on chibitronics boards, A3 can be configured to have an intenal pull-up
  
  created 21 November 2006
  by David A. Mellis

    if (reading != buttonState) {
      buttonState = reading;

      // only toggle the LED if the new button state is HIGH
      if (buttonState == HIGH) {
        ledState = !ledState;
      }
    }


// constants won't change. They're used here to 
// set pin numbers:
const int buttonPin = A3;    // the number of the pushbutton pin
const int ledPin = A2;      // the number of the LED pin

// Variables will change:
int ledState = HIGH;         // the current state of the output pin
int buttonState;             // the current reading from the input pin
int lastButtonState = HIGH;   // the previous reading from the input pin

// the following variables are long's because the time, measured in miliseconds,
// will quickly become a bigger number than can be stored in an int.
