Include <multiCameraIrControl.h>
int onValue = 10; // specify how long the status LED is turned on
int delayValue = 5000; // specify interval between shots in milliseconds
Nikon D90(9); // specifies the camera model
void setup(){
pinMode(13, OUTPUT); // initialize pin 13 as an output.
}
void loop(){
digitalWrite(13, HIGH); // set the LED on
delay(onValue); // wait
D90.shutterNow(); // trigger the shutter
digitalWrite(13, LOW); // set the LED off
delay(delayValue-onValue); // wait
}
thats my code and I need a fix for it now and I just dont get why its giving me errors
См. статью: Nikon does not name a type error?