Help file - emonTx_CT123_Voltage_Temp

Hello everyone

Sorry for my bad English, but unfortunately I do not speak to me and help with a translator ...

I want to use your project EOM, I have prepared all the components soldered on the PCB and I find myself having to load the sofware know EmonTx.
If you load the software "emonTx_CT123_Voltage" everything is going well and the dashboard see the data, but also because I want to use a temperature probe if you load the software "emonTx_CT123_Voltage_Temp" gives me these errors that can not understand:

In file included from emonTx_CT123_Voltage_Temp.ino: 64:
C: \ Program Files (x86) \ Arduino \ libraries \ DallasTemperature / DallasTemperature.h: 67: error: expected `) 'before' * 'token
C: \ Program Files (x86) \ Arduino \ libraries \ DallasTemperature / DallasTemperature.h: 231: error: ISO C + + forbids declaration of 'OneWire' with no type
C: \ Program Files (x86) \ Arduino \ libraries \ DallasTemperature / DallasTemperature.h: 231: error: expected ';' before '*' token
emonTx_CT123_Voltage_Temp: 67: error: 'OneWire' does not name a type
emonTx_CT123_Voltage_Temp: 68: error: 'OneWire' was Not Declared in this scope.

Kindly able to help me understand, thank you all.

 

Regards

Robert Wall's picture

Re: Help file - emonTx_CT123_Voltage_Temp

Do you have the OneWire library? At the beginning of the sketch:

THIS SKETCH REQUIRES:

Libraries in the standard arduino libraries folder:
- JeeLib   https://github.com/jcw/jeelib
- EmonLib   https://github.com/openenergymonitor/EmonLib.git
- OneWire   http://www.pjrc.com/teensy/arduino_libraries/OneWire.zip
- DallasTemperature https://github.com/milesburton/Arduino-Temperature-Control-Library/

"expected `) 'before' * 'token"  tells you that it could not understand 'OneWire' 

"'OneWire' does not name a type" tells you that it does not know what sort of variable 'OneWire' is

" 'OneWire' was Not Declared in this scope." tells you you have not told it that you use the name OneWire

Therefore the 'OneWire' library is the first place to look.

serbat's picture

Re: Help file - emonTx_CT123_Voltage_Temp

Thanks Robert Wall
Thank you so much for your answer, really nice, you will not believe I had put the file, but I forgot to unpack it.

Thanks again

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.