Greetings,
I'm trying to use felias-fogg excellent Soft I2C library
with Adafruits
https://github.com/adafruit/Adafruit_INA219
As instructed there, I replaced the
#include <Wire.h>
with
#include <SoftWire.h>
SoftWire Wire = SoftWire();
(also in the INA libray) but get a bunch of errors.
I tried some combinations of declaring in this or the other files s(.cpp, .h or .ino) but the compiler always complains.
I use all those three files in one folder, if that's of some importance here.
Arduino: 1.8.5 (Windows 7),
Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Can anybody help please?
Thanks!!
Attached the code and verbosed error messages
TwoWire-verbose-errors.zip (8.96 KB)