Skip to content

Instantly share code, notes, and snippets.

@tomerweller
Created November 29, 2016 06:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomerweller/e50403bb18dcb6932d54e8f11edf0734 to your computer and use it in GitHub Desktop.
Save tomerweller/e50403bb18dcb6932d54e8f11edf0734 to your computer and use it in GitHub Desktop.
esp32 arduino ring oscillator benchmark
const int in = 13;
const int out = 14;
void setup() {
pinMode(in, INPUT);
pinMode(out, OUTPUT);
digitalWrite(out, LOW);
}
void loop() {
digitalWrite(out, 1 - digitalRead(in));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment