It dates from 2008 and it is intended for the old BQ2013 battery gauge chip.
But i get a lot of compiler errors, header files not found, conflicting declarations etc...
I guess a lot has changed over the years in the arduino development environment so the library needs an update.
I would appreciate some help with this.
kind regards
Frank
Use the IDE autoformat tool (ctrl-t or Tools, Auto Format) to indent the code for readability before posting code.
Post your code in code tags.
Post the complete error message. Paraphrasing leaves out important information. In the IDE there is the "copy error message" button. Copy the error messages and put into a post in code tags.
Thanks I did that already
I also removed #include "pins_arduino.h"
and #include "avrmacros.h"
now the error says
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:232:0,
from C:\Users\frank\Documents\Arduino\libraries\HDQ\HDQ.cpp:54:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:126:27: error: conflicting declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, const char*)'
friend StringSumHelper & operator + (const StringSumHelper &lhs, const char *cstr);