So this is really old thread and I forgot about this, but went on with it. Apparently stuff has changed since 2019/2021 and when I try to compile this I get:
In file included /ArduinoINA219/INA219.h:213:13: error: expected ',' or '...' before 'bool'
213 | bool stop = true // false if the i2c bus should not be released.
| ^~~~
In file included from /ConstantCurrent/variables.h:42:14: error: 'D0' was not declared in this scope; did you mean 'A0'?
42 | int pwmPin = D0;
| ^~
| A0
exit status 1
Compilation error: 'D0' was not declared in this scope; did you mean 'A0'?
Anyone has any guesses what' going on?
EDIT: Used 5 year old github repo and managed to get rid of that mistake, D0-A0 is still a mystery. When changed, it passes debug.
In file included /ArduinoINA219/INA219.h:213:13: error: expected ',' or '...' before 'bool'
213 | bool stop = true // false if the i2c bus should not be released.
| ^~~~
In file included from /ConstantCurrent/variables.h:42:14: error: 'D0' was not declared in this scope; did you mean 'A0'?
42 | int pwmPin = D0;
| ^~
| A0
exit status 1
Compilation error: 'D0' was not declared in this scope; did you mean 'A0'?
Anyone has any guesses what' going on?
EDIT: Used 5 year old github repo and managed to get rid of that mistake, D0-A0 is still a mystery. When changed, it passes debug.