Hello,
I have the problem using EmonTx teperature.
When i use the sketch temperature_search or emontx_temperature_power i become the message error: application.h no such file or directory
I have surch but cant find such file,
Archived Forum |
|
temperatureSubmitted by geurink33 on Fri, 28/02/2014 - 19:49Hello,
I have the problem using EmonTx teperature. When i use the sketch temperature_search or emontx_temperature_power i become the message error: application.h no such file or directory I have surch but cant find such file, » |
Re: temperature
in fact i become the message:
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:3:25: error: application.h: No such file or directory
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:14: error: 'D3' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp: In function 'void printAddress(uint8_t*)':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:27: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:28: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:28: error: 'HEX' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp: In function 'void printTemperature(uint8_t*)':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:43: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp: In function 'void setup()':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:52: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:59: error: 'DEC' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp: In function 'void loop()':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:112: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application.cpp:118: error: 'delay' was not declared in this scope
Re: temperature
If you open the file temperature_search.ino in the Arduino IDE.
At the top of the file it says this :
Have you checked that you have downloaded the two libraries the script needs and placed them in the arduino library folder?
If the Arduino IDE is open, you will need to quit and reopen the Arduino IDE.
Re: temperature
Yes, i have the libraries DallasTemperature en OneWire in my directory.
I have check the directories but there is no file like applications.h in there
Re: temperature
I think you are using the wrong library.
You would appear to be using this...https://github.com/justinatomatic/DallasTemperature_SparkCore .
Try downloading the one listed in the sketch and try again.
Re: temperature
I have thit file SparkCore, tryd it again but still the same result.
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:3:25: error: application.h: No such file or directory
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:14: error: 'D3' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp: In function 'void printAddress(uint8_t*)':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:27: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:28: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:28: error: 'HEX' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp: In function 'void printTemperature(uint8_t*)':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:43: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp: In function 'void setup()':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:52: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:59: error: 'DEC' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp: In function 'void loop()':
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:112: error: 'Serial' was not declared in this scope
D:\Arduino\Sketchbook\libraries\DallasTemperatureSparkCore\application (2).cpp:118: error: 'delay' was not declared in this scope
Re: temperature
I think it will NOT work with the SparkCore library -
Please follow these instructions:
Re: temperature
Hello Ukmoose, (nice name)
Many thanks for your help. My temperature metering is working now.
Do you now why the jgauge in a dashboard is giving a 10 or 100 times the valve of the metering.
Regards Frans
Re: temperature
Glad it is working!
As your jquage issue is probably unrelated to your library issue, can I suggest you open up a new post?
rgds
ukmoose