|
Post by obliov on Jun 18, 2017 14:40:33 GMT -8
Hello all:
When I try to compile the drivers for this board, I get these messages:
Arduino: 1.6.5 (Windows 7), Board: "Arduino Nano, ATmega328"
INA3221_test.ino: In function 'void loop()': INA3221_test:46: error: 'busvoltage1' cannot be used as a function INA3221_test:62: error: 'busvoltage2' cannot be used as a function INA3221_test:78: error: 'busvoltage3' cannot be used as a function 'busvoltage1' cannot be used as a function
Any idea of what is going on?
Also: What are these instructions trying to accomplish?:
loadvoltage1 = busvoltage1 (shuntvoltage1 / 1000);
Thanks in advance for your help.
Oblio
|
|
|
Post by obliov on Jun 18, 2017 15:10:58 GMT -8
Never mind - apparently a plus sign got filtered out when I downloaded it. The lies in question should read:
loadvoltage1 = busvoltage1 + (shuntvoltage1 / 1000);
|
|