   // pin13 LED
   pinMode(13, OUTPUT);
 
-  // Make input & enable pull-up resistors on switch pins
+  // Make input & enable pull-up resistors on button pins
   for (i=0; i< NUMBUTTONS; i++) {
     pinMode(buttons[i], INPUT);
     digitalWrite(buttons[i], HIGH);

}

void loop() {
  check_switches();      // when we check the switches we'll get the current state

  reportInputStates();
  

#define DEBOUNCE 10  // button debouncer 5+ ms

byte buttons[] = {3, 4, 5}; // D2-D12
String buttonNames[] = {"pb1", "pb2", "pb3"};
#define NUMBUTTONS sizeof(buttons)

byte potmeters[] = {18}; // A0-14, A5-19 6

String potmeterNames[] = {"pot1"};
#define NUMPOTMETERS sizeof(potmeters)

// pressed buttons
byte pressed[NUMBUTTONS];

void setup() {
