I was trying to run this library on Arduino Mega, using ESP8266 as replacement of Wifi Shield, as suggested on my older thread.
The problem is, I got error in compiling, after with this code :
#include <WiFiEsp.h>
#include <WiFiEspClient.h>
#include <WiFiEspUdp.h>
#include "AppleMidi.h"
APPLEMIDI_CREATE_INSTANCE(WiFiUDP, appleMIDI1);
....
exit status 1
'WiFiUDP' was not declared in this scope
if I modified the code into this :
#include <WiFiEsp.h>
#include <WiFiUdp.h>
#include "AppleMidi.h"
APPLEMIDI_CREATE_INSTANCE(WiFiUDP, appleMIDI1);
....
I got this error instead
C:\Program Files (x86)\Arduino\libraries\WiFi\src\utility\server_drv.cpp:313:40: error: 'WARN' was not declared in this scope
WARN("error waitResponse isDataSent"); ^
exit status 1
Full code here at pastebin. I was pretty much stuck now. Please help! :(
Thanks :D