     }
     tcnt = 0;
   }
-  PORTD &= ~(_BV(2)); // Pin D2 off again
 }
-
-

#define PWM_PIN 3
#define RESET_PIN A3
#define SWITCH_PIN 2


HamShield radio;
DDS dds;

ISR(ADC_vect) {
  static uint8_t tcnt = 0;
  TIFR1 = _BV(ICF1); // Clear the timer flag
  dds.clockTick();
  if(++tcnt == 1) {
    if(radio.afsk.encoder.isSending()) {
