Created
February 12, 2020 02:10
-
-
Save parzibyte/18de46189a7ed4b552d87413920310e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() | |
{ | |
// Configurar como un access point | |
WiFi.softAP(NOMBRE_RED, CLAVE_RED); | |
WiFi.softAPConfig(ip, puertaDeEnlace, mascaraDeRed); | |
delay(100); | |
// Configuramos la ruta y la función que responderá a la solicitud de dicha ruta | |
servidor.on("/", rutaRaiz); | |
servidor.onNotFound(rutaNoEncontrada); | |
// Empezar a escuchar | |
servidor.begin(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment