     //always be the same interrupt routine
   
     ISR(PCINT_vect) {    
-    if (digitalRead(ditPin)==0)  Serial.println("dit");
-    if (digitalRead(dahPin)==0)  Serial.println("dah");
+      if (iambic) {
+        diDah(); // pin detection built into diDah()
+      } else if {
+        (digitalRead(ditPin)==0)  play(dit);
+      } else if {
+        (digitalRead(dahPin)==0)  play(dah);
+      }
     }
   }
 

  sei();    // turn interrupts back on
}

void setup() 
{ 
  if (Board = Uno) {
    // set up ditPin to read ditButton on regular Arduinos with 2 hardware interrups
    pinMode(ditPin, INPUT_PULLUP);
    attachInterrupt(0, PlayDit, FALLING);
    
    // set up dahPin to read dahButton on regular Arduinos with 2 hardware interrups
    pinMode(dahPin, INPUT_PULLUP);
    attachInterrupt(1, PlayDah, FALLING);
  }
  
  if (Board == Trinket) {


// configuration switcher
int Trinket     = 1;
