Skip to content

Instantly share code, notes, and snippets.

@DeviNoles
Last active August 8, 2022 21:41
Show Gist options
  • Save DeviNoles/be8bf7a4b62c4e5248ca8c80c371a3af to your computer and use it in GitHub Desktop.
Save DeviNoles/be8bf7a4b62c4e5248ca8c80c371a3af to your computer and use it in GitHub Desktop.
void setup() {
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
pinMode(5, OUTPUT);
delay(1000);
}
void loop() {
pinMode(5, OUTPUT);
delay(1000);
// Serial.println("IN LOOP WTF");
digitalWrite(5, HIGH);
delay(1000);
digitalWrite(5, LOW);
pinMode(5, INPUT);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment