Pages: [1]   Go Down
Author Topic: Blink  (Read 539 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset



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):
}
ß
Logged

Leeds, England, (dis)UK
Offline Offline
God Member
*****
Karma: 16
Posts: 706
Quick, chuck it in the bin before the boss finds out...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The last character looks a little suspect to me!
Logged

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Last character is wrong and after

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

There's ";" not ":"
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26485
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sp. "pinMode", also you can't start anything with a closing comment.
Logged

"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.

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: [1]   Go Up
Jump to: