Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ Electronics
➜ Microprocessors
➜ Elapsed Timer Library on Arduino 1.02
Elapsed Timer Library on Arduino 1.02
|
Postings by administrators only.
Refresh page
Posted by
| BlackSnake
(2 posts) Bio
|
Date
| Sat 24 Nov 2012 10:22 PM (UTC) |
Message
| Hi Nick,
I am getting the attached error message when I try to compile in Arduino 1.02, I know my program works in 022 version.
I have looked around for an updated library but can't find it.
Can you please point me in the right direction.
error message
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp: In member function 'void Elapsed::reset()':
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp:52: error: 'micros' was not declared in this scope
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp:53: error: 'millis' was not declared in this scope
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp: In member function 'long unsigned int Elapsed::intervalMs()':
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp:59: error: 'millis' was not declared in this scope
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp: In member function 'long unsigned int Elapsed::intervalUs()':
C:\Users\Denis\arduino-1.0.2\libraries\Elapsed\Elapsed.cpp:65: error: 'micros' was not declared in this scope
| Top |
|
Posted by
| Nick Gammon
Australia (23,121 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 25 Nov 2012 05:51 AM (UTC) |
Message
| I think I answered this question on the Arduino forum.
http://arduino.cc/forum/index.php/topic,134050.0.html |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| BlackSnake
(2 posts) Bio
|
Date
| Reply #2 on Sun 25 Nov 2012 07:12 AM (UTC) |
Message
| Hi Nick
Great stuff - the new library works perfectly.
Funny thing is I downloaded the one I found on your site but it was dated May 2011 and did not work (only one I could find).
Thanks again for your excellent libraries and support.
Best Regards
Chris | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,411 views.
Postings by administrators only.
Refresh page
top