Interval Shutter Program Ver.3

Dependencies:   mbed

Fork of IntervalShutter2 by Honmaka Astro

main.cpp

Committer:
Honmaka
Date:
2015-01-27
Revision:
1:ca34f8960f93
Parent:
0:59114d512644
Child:
2:11af47fce11c

File content as of revision 1:ca34f8960f93:

#include "mbed.h"

DigitalOut Camera1(p30);
DigitalOut Camera2(p29);
DigitalIn  Input(p5);

int main() {
    Input.mode(PullDown);
    while(1) {
        Camera1 = Input;
        Camera2 = Input;
    }
}