WiFIScan.ino compiles OK, uses "Generic ESP8266 board", works intermittently. Direct plug into PC USB seemed to help.
Then when uploading "esp8266_one_network.ino" to access one specific network, errors always show up : "espcomm_sync failed, error: espcomm_open failed, error: espcomm_upload_mem failed".
Tried deleting older versions of the following and"C:\Users\Name\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2
Tried deleting esp8266 Boards Manager and re-installing.
Any help would be very much appreciated.