Go Down

Topic: I know little about programming, and have a specific question. (Read 394 times) previous topic - next topic

Beatz1337

Mar 19, 2013, 01:17 am Last Edit: Mar 19, 2013, 01:25 am by Beatz1337 Reason: 1
My code is receiving an error, and I am using a tutorial.
The tutorial is located at this webpage: http://blog.tinyenormous.com/2009/09/30/17-arduino-nikon-ir-intervalometer-code/

The code that I need help with is as follows:
Code: [Select]

void snap(){
int i;
digitalWrite(PIN_STATUS,  1);  
         for(i=0;i");
         sequence[i] = (sequence[i] * FREQ) / (intervalle * 1000);
         Serial.println(sequence[i]);
     }
}


The error:
Code: [Select]

stray '/' in program

mistergreen


Beatz1337

Thank you, now how can I fix it? I am not familiar with this syntax, however, I know lua, and sometimes it gets confusing.

mistergreen


Beatz1337

I am, but the tutorial code is incorrect, so could you help me fix this one line of code?

Go Up