pfeerick / elapsedMillis

Arduino 'port' of the elapsedMillis library
MIT License
84 stars 26 forks source link

elapsedMillis is not recognized as variable #5

Closed alexrobust closed 9 years ago

alexrobust commented 9 years ago

I have download the elapsedMillismaster library and try to use it: I #include elapsedMillis timeElapsed; but compile doesn'r recognize elapsedMillis variable.

Thanks

pfeerick commented 9 years ago

Alex, Have you looked at the GettingStarted sketch that comes with the elapsedMillis library... it is a commented sketch that explains how to use a single instance of the elapsedMillis object. You need to make sure you've installed the library properly into the Arduino library folder. I suspect that githib chopped up some of your comment, and that the include line meant to say #include <elapsedMillis.h>? Feel free to ask questions if you're still stuck.

alexrobust commented 9 years ago

Thank you for your response . I found the problem. The elapsedMillis is very helpful object and allows simplify a sketch.

Sent from my Windows Phone


From: pfeerickmailto:notifications@github.com Sent: ‎11/‎23/‎2014 8:08 PM To: pfeerick/elapsedMillismailto:elapsedMillis@noreply.github.com Cc: alexrobustmailto:alexrobust@hotmail.com Subject: Re: [elapsedMillis] elapsedMillis is not recognized as variable (#5)

Alex, Have you looked at the GettingStarted sketch! that comes with the elapsedMillis library... it is a commented sketch that explains how to use a single instance of the elapsedMillis object. You need to make sure you've installed the library properly into the Arduino library folder. Then the #include line needs to say "#include ". Feel free to ask questions if you're still stuck.


Reply to this email directly or view it on GitHub: https://github.com/pfeerick/elapsedMillis/issues/5#issuecomment-64143590

pfeerick commented 9 years ago

No problem. Glad you find it useful!