![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Library for interfacing with Nikon DSLR through IR LED
main.cpp
- Committer:
- danbudanov
- Date:
- 2019-04-26
- Revision:
- 1:bdc12143ced7
- Parent:
- 0:e977f7ad0d48
File content as of revision 1:bdc12143ced7:
/** * This program will transmit a modulated infrared signal to a Nikon DSLR using * a QED-123 IR LED */ #include "mbed.h" #include "DslrIr.h" DigitalIn trigger(p20); /* Pull down trigger to enable shutter release */ DslrIr dslr(p21); int main() { // trigger.mode(PullUp); while(1) { if(!trigger) { dslr.trigger(); wait(1); } } }