Hi moseley
I downloaded the library from the link you gave. When I tried to compile the example program that came with it, it gave a compiler error!
To fix it, I had to go into the library header file HIH61XX.h.
If you look at around lines 40 - 45, there are two copies of the following line:
bool isRunning() const { return f & RunningFlag; }
I commented out the second one, changing it to:
//bool isRunning() const { return f & RunningFlag; }
The example then compiled OK, and your program did too.
Maybe worth a try. I don't have the right hardware to test that it actually works ![]()
All the best
Ray