I tried your suggestion without any luck. I commented out the second copy of that code but still got this error message during compiling:
example:6: error: 'HIH61XX' does not name a type
example.ino: In function 'void loop()':
example:19: error: 'hih' was not declared in this scope
Rob,
I see that the code is different on the playground but I assumed that the version I downloaded was upgraded. I am running the example code that was in the library download.
Then I clicked on the Downloads tab and downloaded HIH-0.2.tar.gz. When extracted, this had two library folders: HIH61XX and HIH61XXCommander. Did you get your library from a different place?
Do you have an example program for the library showing up in the Arduino IDE (under File - Examples)? If so, does it compile?
EDIT: Can you confirm the path and folder where you installed the HIH61XX files (.h and .cpp)?
That is the file I downloaded and tried putting it in both the arduino library folder in my-documents and the arduino library folder in programfiles (not at the same time). Both of those destinations work for other libraries I have installed. The example program I am running is found under File - Examples in the Arduino IDE and gives me the error I have posted:
example:6: error: 'HIH61XX' does not name a type
example.ino: In function 'void loop()':
example:19: error: 'hih' was not declared in this scope
If it helps, I have attached the two library files from my C:\Arduino\libraries\HIH61XX\ folder. I guess you could compare them with your versions. Or post yours and I'm happy to do a file diff on them.
Moving the HIH61XX folder out of the HIH folder worked and I am getting accurate readings. I do still have the second copy of that code commented out. Thanks for all the help