Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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