This
const int led = 1; // led connected to digital pin 1
and this
Serial.println("Knock!");
do not get along.
Digital pin 1 is the tx pin for Serial.println().
This
const int led = 1; // led connected to digital pin 1
and this
Serial.println("Knock!");
do not get along.
Digital pin 1 is the tx pin for Serial.println().