Skip to content

Instantly share code, notes, and snippets.

@chaeplin
Created December 1, 2015 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaeplin/4683dc2540735a3ade1f to your computer and use it in GitHub Desktop.
Save chaeplin/4683dc2540735a3ade1f to your computer and use it in GitHub Desktop.
Serial.test
int testpin1 = 5;
void setup() {
pinMode(testpin1, OUTPUT);
}
void loop() {
Serial.begin(115200);
digitalWrite(testpin1, LOW);
delay(2000);
Serial.end();
digitalWrite(testpin1, HIGH);
delay(4000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment