Pages: [1]   Go Down
Author Topic: New user - Blink example  (Read 958 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm very new - and tried to follow the 'Blink' example, but after completeing first line I get the error message "bash: System error near unexpected token '('.
I note that in my first line of code   "void setup()   {"    the line begins with a '$' symbol.

Frustrated !!
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Please post ALL your code using the # insert code button in the toolbar.

That will make it a lot easier for people to help you.

It's probably a simple typo :-)
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Told you I was new - so here goes again.

I used 'Cygwin' to open the input screen - and after the identifcation line "Glynn@Glynn - PC", I entered the following code:
                    $  void setup()   {
before attempting to move to the next line (by pressing Enter). Incidentially the '$' symbol was already embedded - and I could not remove.

When I presseed Enter the following error message appeared:
           bash: System error near unexpected token '('

Still frustrated - probably out of sheer ignorance - but would appreciate some help in trying tro learn the use of code fopr Ardunio.cc

Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 207
Posts: 12919
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Have you downloaded the Arduino IDE?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes - I downloaded the 'software' from the Arduino Home page into my Windows Vista.  File name 'arduino-0022.zip'.

Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 614
Posts: 49365
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you follow the instructions on the page, to unzip the file?

Did you see the step about double-clicking on Arduino.exe to start the program?

THAT is where you type/paste code.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you - finally made it, and I have the Blink example working.

I had not unzipped (extracted) the arduino-0022.zip file.  Incidentially that too about 1.5 hours.

Thank you again for your advice - but, I have no doubt, I will be back as I set off on the Arduino voyage of discovery.
Logged

Pages: [1]   Go Up
Jump to: