-->
Page 24 of 24

Re: WIFI SCAN AND ACQUIRE OLED

PostPosted: Sat Oct 15, 2016 4:02 pm
by miker
I'm having no luck compiling the sketch using any version of the IDE. The error is:

ESP_WIFISCAN_OLED_ACQUIRE:207: error: cannot pass objects of non-trivially-copyable type 'class String' through '...'
sprintf(myStr,"%s",WiFi.SSID(i)); // copy in the SSID

If you have any idea then I'd love to know,
Mike

Re: WIFI SCAN AND ACQUIRE OLED

PostPosted: Sat Oct 15, 2016 4:21 pm
by martinayotte
Try the following instead :
Code: Select allsprintf(myStr,"%s",WiFi.SSID(i).c_str());