Created
November 29, 2016 06:34
-
-
Save tomerweller/e50403bb18dcb6932d54e8f11edf0734 to your computer and use it in GitHub Desktop.
esp32 arduino ring oscillator benchmark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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