Go Down

Topic: Lolin32 Lite AP no connection  (Read 279 times) previous topic - next topic

Olehartz

Hi everyone,

i have a problem and i hope somebody can help me.

I have a Lolin32 lite with a button at Pin 19. If it is pushed there should be send data to the App (App Inventor 2).
So i tried to make an access point with the Lolin. It works i can connect with the AP, but when i try to open the IP 192.168.4.1 in an Browser it doesn't work. In the App there is the same issue.

What is missing?

Thanks


#include <WiFi.h>

void setup()
{
Serial.begin(9600);

pinMode(19, INPUT);
  delay(3000);
  Serial.println("START");
  WiFi.softAP("TestAP");
  Serial.println("The IP of the access Point is :");
  Serial.println((WiFi.softAPIP()));

}


void loop()
{

    Serial.println(digitalRead(19));
    delay(3000);

}

Go Up