getting an error message in an arduino sketch. Here is the part causing the problem;
void setup() {
Serial.begin(9600);
pinMode(pin, INPUT);
pinMode(ledPin, OUTPUT);
}
keep getting" '}' needed at end of input", in error message. Then if I delete the input line I am still getting the same error message which doesn't make any sense at all. Input appears no where else in my programming. Anybody have a clue of the problem here? In another sketch with the same set up lines I had no error messages.
void setup() {
Serial.begin(9600);
pinMode(pin, INPUT);
pinMode(ledPin, OUTPUT);
}
keep getting" '}' needed at end of input", in error message. Then if I delete the input line I am still getting the same error message which doesn't make any sense at all. Input appears no where else in my programming. Anybody have a clue of the problem here? In another sketch with the same set up lines I had no error messages.