Skip to content
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

Support Arduino DUE? #137

Closed
proasnet opened this issue Feb 13, 2023 · 4 comments
Closed

Support Arduino DUE? #137

proasnet opened this issue Feb 13, 2023 · 4 comments
Labels
selected for development Feature will be implemented in the next version

Comments

@proasnet
Copy link

Hello, my project I want migrate from Mega to Due,
compilation return errors for
setValue

is possible, please, support Due board?
Thanks

@dawidchyrzynski
Copy link
Owner

Hi @proasnet,

Can you provide the build's log?

@proasnet
Copy link
Author

Hi @dawidchyrzynski

This is compile log

:\Jirutka\99_VYVOJ ARDUINO\Axpert\AxpertinoGW_V1.11_DUE\AxpertinoGW_V1.11_DUE.ino: In function 'void loop()':
AxpertinoGW_V1.11_DUE:735:69: error: call of overloaded 'setValue(int&)' is ambiguous
     Inv_1_outputPowerApparent.setValue( hodnoty_QPIGS_Inv_1.AC_O_VA );
                                                                     ^
Z:\Jirutka\99_VYVOJ ARDUINO\Axpert\AxpertinoGW_V1.11_DUE\AxpertinoGW_V1.11_DUE.ino:735:69: note: candidates are:
In file included from C:\Users\j.jirutka\Documents\Arduino\libraries\home-assistant-integration\src/ArduinoHA.h:11:0,
                 from Z:\Jirutka\99_VYVOJ ARDUINO\Axpert\AxpertinoGW_V1.11_DUE\AxpertinoGW_V1.11_DUE.ino:10:
C:\Users\j.jirutka\Documents\Arduino\libraries\home-assistant-integration\src/device-types/HASensor.h:37:10: note: bool HASensor::setValue(const char*) <near match>
     bool setValue(const char* value);
          ^
C:\Users\j.jirutka\Documents\Arduino\libraries\home-assistant-integration\src/device-types/HASensor.h:37:10: note:   no known conversion for argument 1 from 'int' to 'const char*'
C:\Users\j.jirutka\Documents\Arduino\libraries\home-assistant-integration\src/device-types/HASensor.h:38:10: note: bool HASensor::setValue(uint32_t)
     bool setValue(uint32_t value);
          ^
C:\Users\j.jirutka\Documents\Arduino\libraries\home-assistant-integration\src/device-types/HASensor.h:39:10: note: bool HASensor::setValue(int32_t)
     bool setValue(int32_t value);

etc..

@proasnet
Copy link
Author

proasnet commented Mar 6, 2023

I tried examples from library and copiled as Arduino DUE, the same problem

@dawidchyrzynski dawidchyrzynski added the selected for development Feature will be implemented in the next version label Jan 31, 2024
@dawidchyrzynski
Copy link
Owner

The Arduino Due support will be added in the upcoming version of library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
selected for development Feature will be implemented in the next version
Projects
None yet
Development

No branches or pull requests

2 participants