conversion from 'int' to 'String' is ambiguous

I get a compiling error on the wireless joystick demo code "conversion from 'int' to 'String' is ambiguous" on line
String Buttons[17] = { "J2", "J1", NULL, "S2", "S1", "UP", "LEFT", "DOWN", "RIGHT", "1", "4", "2", "3", "RZ1", "RZ2", "LZ1", "LZ2"};
Whats going on?
String Buttons[17] = { "J2", "J1", NULL, "S2", "S1", "UP", "LEFT", "DOWN", "RIGHT", "1", "4", "2", "3", "RZ1", "RZ2", "LZ1", "LZ2"};
Whats going on?
2017-12-15 19:19:24 I found the issue, in the WirelessJoystickSample2.zip example code provided for download, the NULL causes the error, replace NULL with "" and it will compile.
String Buttons[17] = { "J2", "J1", NULL, "S2", "S1", "UP", "LEFT", "DOWN", "RIGHT", "1", "4", "2", "3", "RZ1", "RZ2", "LZ1", "LZ2"};
dvschafer
String Buttons[17] = { "J2", "J1", NULL, "S2", "S1", "UP", "LEFT", "DOWN", "RIGHT", "1", "4", "2", "3", "RZ1", "RZ2", "LZ1", "LZ2"};

2017-12-15 17:46:28 I thought the Arduino IDE (1.8.5) would work fine? What IDE do you recommend?
dvschafer

2017-12-15 17:27:10 The example code runs well here, have you use different IDE to have a test again?
robert.chen
