Created
February 17, 2015 16:16
-
-
Save dmpop/e1efb6675ded79b1ca69 to your computer and use it in GitHub Desktop.
Sketch for SONY NEX series cameras release
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
int focus_pin = 11; | |
int release_pin = 13; | |
void setup() { | |
pinMode(release_pin, OUTPUT); | |
pinMode(focus_pin, OUTPUT); | |
} | |
void loop() { | |
digitalWrite(focus_pin, HIGH); | |
delay(500); | |
digitalWrite(release_pin, HIGH); | |
delay(500); | |
digitalWrite(release_pin, LOW); | |
digitalWrite(focus_pin, LOW); | |
delay(5000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment