[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Electronics
. -> [Folder]  Microprocessors
. . -> [Subject]  Elapsed Timer Library on Arduino 1.02
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Elapsed Timer Library on Arduino 1.02

Postings by administrators only.

[Refresh] Refresh page


Posted by BlackSnake   (2 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by BlackSnake   (2 posts)  [Biography] 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
[Go to top] 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.


4,780 views.

Postings by administrators only.

[Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]