Loading...
Welcome,
Guest
. Please
login
or
register
.
May 25, 2013, 11:28:14 pm
|
Arduino Forum
::
Using Arduino
::
Project Guidance
:: Blink
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: Blink (Read 282 times)
0 Members and 1 Guest are viewing this topic.
klyons3694
Offline
Newbie
Karma: 0
Posts: 20
Blink
«
on:
September 22, 2012, 11:57:59 am »
Bigger
Smaller
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
dxw00d
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
Re: Blink
«
Reply #1 on:
September 22, 2012, 12:03:52 pm »
Bigger
Smaller
Reset
Blink is included in the IDE. Where did you download it from? Can you post the sketch please?
Logged
PeterH
UK
Offline
Tesla Member
Karma: 89
Posts: 6415
-
Re: Blink
«
Reply #2 on:
September 22, 2012, 03:43:45 pm »
Bigger
Smaller
Reset
Quote from: klyons3694 on September 22, 2012, 11:57:59 am
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
klyons3694
Offline
Newbie
Karma: 0
Posts: 20
Re: Blink
«
Reply #3 on:
September 23, 2012, 04:48:34 pm »
Bigger
Smaller
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
dannable
Leeds, England
Offline
Full Member
Karma: 6
Posts: 188
Quick, chuck it in the bin before the boss finds out...
Re: Blink
«
Reply #4 on:
September 23, 2012, 04:52:35 pm »
Bigger
Smaller
Reset
The last character looks a little suspect to me!
Logged
giacomomarelli
Offline
Newbie
Karma: 0
Posts: 19
Re: Blink
«
Reply #5 on:
September 23, 2012, 04:57:00 pm »
Bigger
Smaller
Reset
Last character is wrong and after
"Delay(1000)"
And
"PinMode(uvjh)"
There's ";" not ":"
Logged
AWOL
Global Moderator
UK
Offline
Brattain Member
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
Re: Blink
«
Reply #6 on:
September 23, 2012, 05:04:03 pm »
Bigger
Smaller
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.
PeterH
UK
Offline
Tesla Member
Karma: 89
Posts: 6415
-
Re: Blink
«
Reply #7 on:
September 23, 2012, 06:35:30 pm »
Bigger
Smaller
Reset
Quote from: klyons3694 on September 23, 2012, 04:48:34 pm
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
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Using Arduino
::
Project Guidance
:: Blink
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...