EmonGLCD test sketch compile error

Have built the GLCD, voltage check OK, assembled the backlight and want to run the test sketch before assembling the LCD display. But I cannot get the test sketch to compile

https://github.com/openenergymonitor/EmonGLCD/blob/master/tester/tester.ino

Error message is 'DallasTemperature does not name a type' for the line of code

DallasTemperature sensors(&oneWire);

I'm guessing its something to do with the naming of the library but I can't find a solution. I have downloaded all the Dallas zip files http://download.milesburton.com/Arduino/MaximTemperature/ is there just one I should be using ?

thanks

boelle's picture

Re: EmonGLCD test sketch compile error

yep... try with the last one

canary50's picture

Re: EmonGLCD test sketch compile error

it must be magic, deleted the libraries and reinstalled them, so far as I could see didn't do anything differently and now its working ......

It could be entertaining for a newcomer to keep a diary of the delays and mistakes as you get started on a project ....

 

Comment viewing options

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