 }
 #endif
 
+#ifdef ADC_USE_PDB
 // pdb interrupt is enabled in case you need it.
 void pdb_isr(void) {
         PDB0_SC &=~PDB_SC_PDBIF; // clear interrupt
         //digitalWriteFast(LED_BUILTIN, !digitalReadFast(LED_BUILTIN) );
 }
+#endif

int value2;

void loop() {

    if (Serial.available()) {
        c = Serial.read();

    //digitalWriteFast(LED_BUILTIN, !digitalReadFast(LED_BUILTIN));

    delay(10);

    #endif // ADC_USE_PDB
}


