Posts

Hello Robojax

          You can see when you click buttons, the webpage is refreshing, that means you are making new HTTP request each time. Yes you can make some buttons actions using this method but when you want to send data from Android to board, webserver is not good idea.           Yo need to use socket in java which is basic thing to make communication between server and client.           After researching more than a month finally i found solution that how to send bytes from Android to Nodemcu. I am using Nodemcu just like wifi serial. Code for Nodemcu : #include const char* ssid="softman"; //my hotspot ssid const char* password="12345678"; //hotspot password WiFiServer server(9000); void setup() { pinMode(5,OUTPUT); //pin D1 for led Serial.begin(115200); Serial.println(); Serial.printf("Connecting to %s ", ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500)...