Closed darsys closed 4 years ago
I could not compile this library on an Arduino Mega 2560 board. The issues were because of a naming conflict with the configuration register bit labels PG1 and PG0 in INA219.cpp. I just renamed PG1 and PG0 to PG_1 and PG_0.
I could not compile this library on an Arduino Mega 2560 board. The issues were because of a naming conflict with the configuration register bit labels PG1 and PG0 in INA219.cpp. I just renamed PG1 and PG0 to PG_1 and PG_0.