Error compiling / MegunoLink sketch to Arduino wifi Rev2
Posted: Sat Mar 28, 2020 11:27 pm
Hi,
I've just download megunolink and evrythings went fine till I try to upload a sketch (a basic checkbox) from my Arduino IDE to my Arduino wifi Rev2 board.
I get the message "error compiling"
I've been throw the forum and try serval things
* Install and reinstall the "megunolink" lirairy
* Install on an other computer the softwears
* modify parameters according the post "Arduino 1.6.0 Upgrade"
I can't get ride off that "error compiling"
Could you help me to solve that ?
Sketch:
#include "MegunoLink.h"
void SendToValueON()
{
InterfacePanel MyPanel;
// Retrieve value
MyPanel.GetValue(F("ValueON"), F("Value"));
MyPanel.GetValue(F("ValueON"), F("Minimum"));
MyPanel.GetValue("ValueON", "Maximum");
}
Arduino IDE end of error message
...
Using library MegunoLink at version 1.25 in folder: C:\Users\raphael\Documents\Arduino\libraries\MegunoLink
C:\Users\raphael\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:183:6: note: no known conversion for argument 2 from 'const char [5]' to 'const __FlashStringHelper*'
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.
I've just download megunolink and evrythings went fine till I try to upload a sketch (a basic checkbox) from my Arduino IDE to my Arduino wifi Rev2 board.
I get the message "error compiling"
I've been throw the forum and try serval things
* Install and reinstall the "megunolink" lirairy
* Install on an other computer the softwears
* modify parameters according the post "Arduino 1.6.0 Upgrade"
I can't get ride off that "error compiling"
Could you help me to solve that ?
Sketch:
#include "MegunoLink.h"
void SendToValueON()
{
InterfacePanel MyPanel;
// Retrieve value
MyPanel.GetValue(F("ValueON"), F("Value"));
MyPanel.GetValue(F("ValueON"), F("Minimum"));
MyPanel.GetValue("ValueON", "Maximum");
}
Arduino IDE end of error message
...
Using library MegunoLink at version 1.25 in folder: C:\Users\raphael\Documents\Arduino\libraries\MegunoLink
C:\Users\raphael\Documents\Arduino\libraries\MegunoLink\utility\InterfacePanel.cpp:183:6: note: no known conversion for argument 2 from 'const char [5]' to 'const __FlashStringHelper*'
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.