galeots / arduino-hih61xx

Automatically exported from code.google.com/p/arduino-hih61xx
0 stars 0 forks source link

Exception #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Adding Library
2. Attempting to run Example
3.

What is the expected output? What do you see instead?
Example runs and this exception appears:

In file included from example.ino:3:
HIH61XX.h:44: error: 'bool HIH61XX::isRunning() const' cannot be overloaded
HIH61XX.h:41: error: with 'bool HIH61XX::isRunning() const'

What version of the product are you using? On what operating system?

Arduino 1.0.5 and Windows 8 (I know)

Please provide any additional information below.

Original issue reported on code.google.com by ryan.j.f...@gmail.com on 23 May 2013 at 3:24

GoogleCodeExporter commented 9 years ago
Experiencing the same issue with Arduino 1.0.5 on Windows 7 x64

Original comment by Jarsn...@gmail.com on 30 Jun 2013 at 12:25

GoogleCodeExporter commented 9 years ago
In HIH61XX.h, this line is defined twice. Just remove one of them:

bool isRunning() const { return f & RunningFlag; }

Original comment by n...@berglondon.com on 5 Jul 2013 at 10:32

GoogleCodeExporter commented 9 years ago
Hi team,

I am trying to make use of the HIH61xx Arduino Library but I keep getting this 
errors :

"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"

I downloaded the library from :
http://playground.arduino.cc/Main/HoneywellHumidIconTMDigitalHumidity-Temperatur
eSensors

How do I fix this problem?

Thank you.

David.

Original comment by jege...@gmail.com on 6 May 2014 at 10:05

GoogleCodeExporter commented 9 years ago
I had the same problem. The fix is to edit the header file HIH61XX.h and 
comment out the second occurrence of

bool isRunning() const { return f & RunningFlag; }

I used Wordpad to edit it and when you save your change it removes the .h in 
the filename. When I saw this I manually added the .h to the filename again... 
Don't do this! This is what caused me to receive the same error when compiling.

So,
#1 Make sure you haven't double defined the filetype.
#2 Make sure that you placed the HIH61XX folder into the library by itself and 
not the HIH folder which contains the HIH61XX folder.

Hope that helps!

Jonathan

Original comment by rallyma...@gmail.com on 13 Jun 2014 at 6:24