Error compiling / MegunoLink sketch to Arduino wifi Rev2

Support forum for MegunoLink
Post Reply
Posts: 1
Joined: Fri Mar 27, 2020 5:31 pm

Sat Mar 28, 2020 11:27 pm


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 ?


#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.
Posts: 24
Joined: Wed Jun 10, 2015 10:35 pm

Tue Apr 07, 2020 9:00 pm


There is a known problem with flash strings, which is causing your compile errors, in version 1.8.5 of the megaAVR toolchain ... /issues/62

I was able to compile successfully with version 1.8.4, so that could be a work-around until we can find a more permanent solution.

Please let us know how you get on,
Posts: 24
Joined: Wed Jun 10, 2015 10:35 pm

Sat Apr 11, 2020 8:22 am

Hi again,

I've modified our library to compile for the megaAVR platform. I don't have any hardware to test with currently though, and it is hard to get stuff shipped in the middle of this covid thing.

Would you mind testing for us please? The update is in our git repository here:

If it doesn't work, you'll probably get weird serial messages with ? characters in them.

Have a good, virus free, day,
Post Reply