Raport: Ministerul Educaţiei, Culturii Și Cercetării Al Republicii Moldova Universitatea Tehnică A Moldovei
Raport: Ministerul Educaţiei, Culturii Și Cercetării Al Republicii Moldova Universitatea Tehnică A Moldovei
Raport: Ministerul Educaţiei, Culturii Și Cercetării Al Republicii Moldova Universitatea Tehnică A Moldovei
Moldova
Universitatea Tehnică a Moldovei
RAPORT
Lucrarea de laborator nr.4
la”B.T.D.”
A efectuat: V. Juc
st. gr. CR-182
A verificat: V. Lascu
Chişinău -2019
Tema: Configurarea placii NodeMCU
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.disconnect();
delay(100);
Serial.println("Setup done");
}
void loop() {
Serial.println("scan start");
#include <ESP8266WiFi.h>
void setup() {
Serial.begin(115200);
delay(10);
// prepare GPIO2
pinMode(2, OUTPUT);
digitalWrite(2, 0);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
void loop() {
// Check if a client has connected
WiFiClient client = server.available();
if (!client) {
return;
}
client.flush();
Concluzie:
In aceasta lucrare de la borator am invatat cum se configureaza placa Node MCU in special
modalitatile ei de conectare la retelele wifi.