I'm trying to upload the code from here to work with an ESP8266. So I copy/pasted the code to the Arduino IDE and I get this error:
C:\Program Files (x86)\Arduino\libraries\WiFi\src/WiFi.h:79:9: error: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)' [-fpermissive]
int begin(char* ssid, const char *passphrase); ^
exit status 1 invalid conversion from 'const char*' to 'char*' [-fpermissive]
Can anyone help me with this?
espcomm_sync failederror, see https://github.com/esp8266/Arduino/blob/master/doc/faq/a01-espcomm_sync-failed.rst – per1234 Jun 22 '17 at 00:41