Pages: [1]   Go Down
Author Topic: New Arduino 0017 compiling problems  (Read 312 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am new to Arduino, I have always used the Oopics, but when I try to compile using ArduinoI get the following error msgs:
 Sonar_srf08.h: No such file or directory In function 'void setup()':
 In function 'void loop()':
Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

your code needs to contain a setup() and a loop() function.
I gues your main programm is located in a function called main()... simly rename this function to setup().

And then add a new function:
void loop()
{
}

will your code compile then?
Logged


Pages: [1]   Go Up
Jump to: