I am looking at the examples in the trial version, they are working fine with a Uno.
However I try the same examples with a Due and they seem to error, am I doing something wrong?
Due Support
Hi Phil
Thanks for responding.
1. I complied the SendToTable example on an Uno, no problems.
2. I then tested the Due with an internal Arduino example to ensure the Due is working.
3. I then load and try to compile the SendToTable example on the Due and following errors occur.............
Arduino: 1.8.5 (Windows 10), Board: "Arduino Due (Programming Port)"
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetProgress(const char*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:52:32: error: call of overloaded 'SetNumber(const char*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:52:32: note: candidates are:
In file included from C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:1:0:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:23:8: note: void InterfacePanel::SetNumber(const char*, int16_t)
void SetNumber(const char * ControlName, int16_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:26:8: note: void InterfacePanel::SetNumber(const char*, int32_t)
void SetNumber(const char * ControlName, int32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:29:8: note: void InterfacePanel::SetNumber(const char*, uint32_t)
void SetNumber(const char * ControlName, uint32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:32:8: note: void InterfacePanel::SetNumber(const char*, float, int)
void SetNumber(const char * ControlName, float fValue, int decimal = 3);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetListValue(const char*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:99:32: error: call of overloaded 'SetNumber(const char*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:99:32: note: candidates are:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:55:6: note: void InterfacePanel::SetNumber(const char*, int16_t)
void InterfacePanel::SetNumber(const char * ControlName, int16_t nValue)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:62:6: note: void InterfacePanel::SetNumber(const char*, int32_t)
void InterfacePanel::SetNumber(const char * ControlName, int32_t nValue)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:69:6: note: void InterfacePanel::SetNumber(const char*, uint32_t)
void InterfacePanel::SetNumber(const char * ControlName, uint32_t nValue)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:76:6: note: void InterfacePanel::SetNumber(const char*, float, int)
void InterfacePanel::SetNumber(const char * ControlName, float fValue, int nDecimal)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetListValue(const __FlashStringHelper*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:104:32: error: call of overloaded 'SetNumber(const __FlashStringHelper*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:104:32: note: candidates are:
In file included from C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:1:0:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:24:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int16_t)
void SetNumber(const __FlashStringHelper * ControlName, int16_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:27:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int32_t)
void SetNumber(const __FlashStringHelper * ControlName, int32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:30:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, uint32_t)
void SetNumber(const __FlashStringHelper * ControlName, uint32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:33:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, float, int)
void SetNumber(const __FlashStringHelper * ControlName, float fValue, int decimal = 3);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetProgress(const __FlashStringHelper*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:144:32: error: call of overloaded 'SetNumber(const __FlashStringHelper*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:144:32: note: candidates are:
In file included from C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:1:0:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:24:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int16_t)
void SetNumber(const __FlashStringHelper * ControlName, int16_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:27:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int32_t)
void SetNumber(const __FlashStringHelper * ControlName, int32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:30:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, uint32_t)
void SetNumber(const __FlashStringHelper * ControlName, uint32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:33:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, float, int)
void SetNumber(const __FlashStringHelper * ControlName, float fValue, int decimal = 3);
^
Multiple libraries were found for "MegunoLink.h"
Used: C:\Users\Garry\Documents\Arduino\libraries\MegunoLink
Not used: C:\Program Files (x86)\Arduino\libraries\MegunoLinkPro
exit status 1
Error compiling for board Arduino Due (Programming Port).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Thanks for responding.
1. I complied the SendToTable example on an Uno, no problems.
2. I then tested the Due with an internal Arduino example to ensure the Due is working.
3. I then load and try to compile the SendToTable example on the Due and following errors occur.............
Arduino: 1.8.5 (Windows 10), Board: "Arduino Due (Programming Port)"
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetProgress(const char*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:52:32: error: call of overloaded 'SetNumber(const char*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:52:32: note: candidates are:
In file included from C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:1:0:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:23:8: note: void InterfacePanel::SetNumber(const char*, int16_t)
void SetNumber(const char * ControlName, int16_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:26:8: note: void InterfacePanel::SetNumber(const char*, int32_t)
void SetNumber(const char * ControlName, int32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:29:8: note: void InterfacePanel::SetNumber(const char*, uint32_t)
void SetNumber(const char * ControlName, uint32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:32:8: note: void InterfacePanel::SetNumber(const char*, float, int)
void SetNumber(const char * ControlName, float fValue, int decimal = 3);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetListValue(const char*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:99:32: error: call of overloaded 'SetNumber(const char*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:99:32: note: candidates are:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:55:6: note: void InterfacePanel::SetNumber(const char*, int16_t)
void InterfacePanel::SetNumber(const char * ControlName, int16_t nValue)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:62:6: note: void InterfacePanel::SetNumber(const char*, int32_t)
void InterfacePanel::SetNumber(const char * ControlName, int32_t nValue)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:69:6: note: void InterfacePanel::SetNumber(const char*, uint32_t)
void InterfacePanel::SetNumber(const char * ControlName, uint32_t nValue)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:76:6: note: void InterfacePanel::SetNumber(const char*, float, int)
void InterfacePanel::SetNumber(const char * ControlName, float fValue, int nDecimal)
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetListValue(const __FlashStringHelper*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:104:32: error: call of overloaded 'SetNumber(const __FlashStringHelper*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:104:32: note: candidates are:
In file included from C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:1:0:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:24:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int16_t)
void SetNumber(const __FlashStringHelper * ControlName, int16_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:27:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int32_t)
void SetNumber(const __FlashStringHelper * ControlName, int32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:30:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, uint32_t)
void SetNumber(const __FlashStringHelper * ControlName, uint32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:33:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, float, int)
void SetNumber(const __FlashStringHelper * ControlName, float fValue, int decimal = 3);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp: In member function 'void InterfacePanel::SetProgress(const __FlashStringHelper*, int)':
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:144:32: error: call of overloaded 'SetNumber(const __FlashStringHelper*&, int&)' is ambiguous
SetNumber(ControlName, nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:144:32: note: candidates are:
In file included from C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:1:0:
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:24:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int16_t)
void SetNumber(const __FlashStringHelper * ControlName, int16_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:27:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, int32_t)
void SetNumber(const __FlashStringHelper * ControlName, int32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:30:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, uint32_t)
void SetNumber(const __FlashStringHelper * ControlName, uint32_t nValue);
^
C:\Users\Garry\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.h:33:8: note: void InterfacePanel::SetNumber(const __FlashStringHelper*, float, int)
void SetNumber(const __FlashStringHelper * ControlName, float fValue, int decimal = 3);
^
Multiple libraries were found for "MegunoLink.h"
Used: C:\Users\Garry\Documents\Arduino\libraries\MegunoLink
Not used: C:\Program Files (x86)\Arduino\libraries\MegunoLinkPro
exit status 1
Error compiling for board Arduino Due (Programming Port).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I've been having similar problems with Megunolink using the Due. Sent an email to support@megunolink.com a few days ago but no reply yet. Been trying to compile the blink2 example as well as my own sketch. I think the problem is related to an update of either the Megunolink library or an update I did with the Megunolink version.
-Joel
-Joel
I've updated the library. You can download it and manually update from github
https://github.com/Megunolink/MLP
or wait for the arduino IDE to detect it and update using the library manager.
https://www.youtube.com/watch?v=007ql7YbFUs
Let me know how it goes
Cheers
Phil
https://github.com/Megunolink/MLP
or wait for the arduino IDE to detect it and update using the library manager.
https://www.youtube.com/watch?v=007ql7YbFUs
Let me know how it goes
Cheers
Phil