Trying to compile the emonTx Discrete sampling.
It is looking for TimerOne.h. Is this a emon specific header filer. It's not finding it, and it is not on github
Archived Forum |
|
Where is the TimerOne.h header file? It is nowhere on GithubSubmitted by alexkarstens on Sun, 26/04/2015 - 15:24Trying to compile the emonTx Discrete sampling. It is looking for TimerOne.h. Is this a emon specific header filer. It's not finding it, and it is not on github » |
Re: Where is the TimerOne.h header file? It is nowhere on Github
Not that I recall and a quick Google suggests otherwise too!.
What sketch are you loading specifically? a link would help as a search of the emonTx Firmware repo only finds 4 instances, none of which are a Discrete sampling sketch.
Paul
Re: Where is the TimerOne.h header file? It is nowhere on Github
https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTxV3...
Re: Where is the TimerOne.h header file? It is nowhere on Github
How are you trying to compile? (Arduino IDE? Version?)
Is there anything else in the same directory as your sketch?
Re: Where is the TimerOne.h header file? It is nowhere on Github
Hi, I am also trying to compile the "emonTxV3_4_continuous_kwhtotals"
it has "#include <TimerOne.h>" as the 4th line In the source listing; and I am getting the same problem with the error message "emonTxV3_4_continuous_kwhtotals.ino:17:22: fatal error: TimerOne.h: No such file or directory compilation terminated."
I am able to compile the "emonTxV3_4_DiscreteSampling" OK.
Re: Where is the TimerOne.h header file? It is nowhere on Github
Timerone.h is a standard Arduino library.
http://playground.arduino.cc/Code/Timer1
There are some newer/modified versions for example
https://github.com/PaulStoffregen/TimerOne.
But I used the standard TimerOne and it worked fine.
Re: Where is the TimerOne.h header file? It is nowhere on Github
What I don't understand is why alexkarstens cannot compile the default sketch, which does not require Timer1. Hence the supplementary questions. I suspect he doesn't understand how the Arduino IDE expects him to work (not surprising really as it got a few idiosyncrasies), and he's got another file in the same directory.
[Simon, in this day and age, people need to learn how to use the search engines effectively, hence the nudge from Paul.]