MultiCameraIrControl

From Digipool-Wiki
Revision as of 11:49, 17 October 2014 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CanonIrRemote.jpg


!Nur kompatibel mit Arduino 1.0.5 - funktioniert nicht mit neueren Arduino Versionen!!!


MultiCameraIrControl schematic.png


Arduino Code: <source lang="java"> /*******************************************

*
* !!! Use Arduino 1.0.5 !!!!!
*
* Name.......:  multiCameraIrControl Library - Canon Example
* Author.....:  Sebastian Setz
* Version....:  1.2
* Date.......:  2011-01-25
* Project....:  http://sebastian.setz.name/arduino/my-libraries/multi-Camera-IR-Control
* Contact....:  http://Sebastian.Setz.name
* License....:  This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
*               To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to
*               Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
********************************************/
  1. include <multiCameraIrControl.h>

Canon D5(10);

void setup(){

 pinMode(13, OUTPUT); // onBoardLED

}

void loop(){

 D5.shutterNow(); // trigger
 // D5.shutterDelayed();
 
 digitalWrite(13, HIGH); // blik
 delay(500);
 digitalWrite(13, LOW);
 
 delay(3000); //  <----- wait

} </source>