Nikon does not name a type error?
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 don't get why its giving me errors
I think you are missing a type specifier for Nikon. On the first line, variable onValue is type int (integer). On the second line, variable delayValue is type in. On the third line, what is Nikon? The compiler may be treating it as a type specifier, but there's no Nikon type defined in the language.
Why does the third line exist? Should Nikon be used in an assignment statement?
- I'm in need of a type of a certain type of photography equipment?
- Nikon D3000: Lensbaby Scout Lens Not Attached Error?
- Nikon d40 has an error saying connecting to pc when shooting and will not clear?
- Nikon d70 error? Not letting me take pictures?
- SD card error message on Nikon D3300 and not recognized by any computer?