Skip to content

Instantly share code, notes, and snippets.

@bryanduxbury
Last active December 29, 2015 21:19
Show Gist options
  • Save bryanduxbury/7729613 to your computer and use it in GitHub Desktop.
Save bryanduxbury/7729613 to your computer and use it in GitHub Desktop.
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
while (true) {
PORTD = 4;
delayMicroseconds(100);
PORTD = 0;
delayMicroseconds(900);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment