Are you attempting to do this entirely on an ESP8266 itself, or with an Espruino board + an ESP8266?
The EsprunoWifi module is for the Espruino WiFi, and expects those extra pins to control whether the WiFi module is powered. For ESP8266+Espruino, the ESP8266WiFi_0v25 module provides a function called createAP - which does the same thing and could be modified to do what you need.
But if you're doing this on a raw ESP8266, it's going to need some tweaks in the C code @Kolban pointed at.
© Espruino, powered by microcosm.
Report a problem