-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerMeterTdisplay not working #1
Comments
I didn use, their library for INA219, in attachment you can find library i
used.
sri, 5. tra 2023. u 09:05 papbo ***@***.***> napisao je:
… HI,
I have installed the software on the T display and installed the different
library from SOLDERED site.
I have this error
MultiProject:6:10: fatal error: INA219.h: No such file or directory
#include "INA219.h"
I replace the INA219.h with INA219-SOLDERED.h
and I have other errors
MultiProject:12:16: error: no matching function for call to
'INA219::INA219(int)'
INA219 INA(0x40);
^
In file included from
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/INA219-SOLDERED.h:17,
from
/Users/etienne/SynologyDrive/Arduino/Programmes/Test-DISPLAY-S3/PowerMeterTDisplay-main/MultiProject/MultiProject.ino:6:
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7:
note: candidate: 'INA219::INA219()'
class INA219
^~~~~~
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7:
note: candidate expects 0 arguments, 1 provided
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7:
note: candidate: 'constexpr INA219::INA219(const INA219&)'
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7:
note: no known conversion for argument 1 from 'int' to 'const INA219&'
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7:
note: candidate: 'constexpr INA219::INA219(INA219&&)'
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7:
note: no known conversion for argument 1 from 'int' to 'INA219&&'
/Users/etienne/SynologyDrive/Arduino/Programmes/Test-DISPLAY-S3/PowerMeterTDisplay-main/MultiProject/MultiProject.ino:
In function 'void setup()':
MultiProject:58:7: error: 'class INA219' has no member named
'setMaxCurrentShunt'; did you mean 'getMaxCurrent'?
INA.setMaxCurrentShunt(5, 0.1);
^~~~~~~~~~~~~~~~~~
getMaxCurrent
/Users/etienne/SynologyDrive/Arduino/Programmes/Test-DISPLAY-S3/PowerMeterTDisplay-main/MultiProject/MultiProject.ino:
In function 'void loop()':
MultiProject:148:11: error: 'class INA219' has no member named
'getCurrent_mA'; did you mean 'getMaxCurrent'?
cur=INA.getCurrent_mA();
^~~~~~~~~~~~~
getMaxCurrent
MultiProject:149:11: error: 'class INA219' has no member named
'getBusVoltage'; did you mean 'readBusVoltage'?
vol=INA.getBusVoltage();
^~~~~~~~~~~~~
readBusVoltage
exit status 1
no matching function for call to 'INA219::INA219(int)'
Any idea how to solve this
regards
Etienne
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4RDKQXFTJGYWJ6VJZ7RHDW7UKUJANCNFSM6AAAAAAWTVKSL4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
hello, thanks for the reply, but I don't see the attached library??? |
i atached library in mail, here is again.
sri, 5. tra 2023. u 09:17 papbo ***@***.***> napisao je:
… hello, thanks for the reply, but I don't see the attached library???
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4RDKSSF3DGKBJCPUNHRO3W7UMBBANCNFSM6AAAAAAWTVKSL4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I am really confused but there is no attachment on the mail, maybe give me a link to this library. |
Here it is https://github.com/RobTillaart/INA219
sri, 5. tra 2023. u 09:27 papbo ***@***.***> napisao je:
… I am really confused but there is no attachment on the mail, maybe give me
a link to this library.
Regards
Etienne
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4RDKRRINRWXK7XDADUJPLW7UNHRANCNFSM6AAAAAAWTVKSL4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
HI, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI,
I have installed the software on the T display and installed the different library from SOLDERED site.
I have this error
MultiProject:6:10: fatal error: INA219.h: No such file or directory
#include "INA219.h"
I replace the INA219.h with INA219-SOLDERED.h
and I have other errors
MultiProject:12:16: error: no matching function for call to 'INA219::INA219(int)'
INA219 INA(0x40);
^
In file included from /Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/INA219-SOLDERED.h:17,
from /Users/etienne/SynologyDrive/Arduino/Programmes/Test-DISPLAY-S3/PowerMeterTDisplay-main/MultiProject/MultiProject.ino:6:
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7: note: candidate: 'INA219::INA219()'
class INA219
^~~~~~
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7: note: candidate expects 0 arguments, 1 provided
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7: note: candidate: 'constexpr INA219::INA219(const INA219&)'
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7: note: no known conversion for argument 1 from 'int' to 'const INA219&'
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7: note: candidate: 'constexpr INA219::INA219(INA219&&)'
/Users/etienne/SynologyDrive/Arduino/libraries/Soldered-INA219-Current-Sensor/src/libs/Arduino-INA219/INA219.h:91:7: note: no known conversion for argument 1 from 'int' to 'INA219&&'
/Users/etienne/SynologyDrive/Arduino/Programmes/Test-DISPLAY-S3/PowerMeterTDisplay-main/MultiProject/MultiProject.ino: In function 'void setup()':
MultiProject:58:7: error: 'class INA219' has no member named 'setMaxCurrentShunt'; did you mean 'getMaxCurrent'?
INA.setMaxCurrentShunt(5, 0.1);
^~~~~~~~~~~~~~~~~~
getMaxCurrent
/Users/etienne/SynologyDrive/Arduino/Programmes/Test-DISPLAY-S3/PowerMeterTDisplay-main/MultiProject/MultiProject.ino: In function 'void loop()':
MultiProject:148:11: error: 'class INA219' has no member named 'getCurrent_mA'; did you mean 'getMaxCurrent'?
cur=INA.getCurrent_mA();
^~~~~~~~~~~~~
getMaxCurrent
MultiProject:149:11: error: 'class INA219' has no member named 'getBusVoltage'; did you mean 'readBusVoltage'?
vol=INA.getBusVoltage();
^~~~~~~~~~~~~
readBusVoltage
exit status 1
no matching function for call to 'INA219::INA219(int)'
Any idea how to solve this
regards
Etienne
The text was updated successfully, but these errors were encountered: