Go Down

Topic: Blink (Read 566 times) previous topic - next topic

klyons3694

I'm just firing everything up after a long layoff and so I downloaded blink from the library. I get "expected unqualified-id before '--' token" If the library can't get it right I have little hope.
HELP please.

dxw00d

Blink is included in the IDE. Where did you download it from? Can you post the sketch please?

PeterH


I'm just firing everything up after a long layoff and so I downloaded blink from the library. I get "expected unqualified-id before '--' token" If the library can't get it right I have little hope.
HELP please.


Sounds to me as if your example sketch has got mangled. I suggest you post the whole sketch (in [ code ] [ /code ] tags) and hopefully somebody will spot what's wrong with it.
I only provide help via the forum - please do not contact me for private consultancy.

klyons3694



This is the code I down loaded from the library. When I try to upload it it gives me thath message.   
*/


void setup() {

pinmode(13, output):
}

void loop() {
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(13, LOW);
  delay(1000):
}
ß

dannable

The last character looks a little suspect to me!
Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

giacomomarelli

Last character is wrong and after

"Delay(1000)"
And
"PinMode(uvjh)"

There's ";" not ":"

AWOL

sp. "pinMode", also you can't start anything with a closing comment.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PeterH


This is the code I down loaded from the library.


Double check where you got that from. Although that's similar to the Blink example sketch included with the Arduino IDE, it's not the Blink example sketch. Perhaps it's one you wrote for yourself and forgot about? Anyway, I suggest you start again with the real Blink example.
I only provide help via the forum - please do not contact me for private consultancy.

Go Up