Просмотр исходного кода

led on off with WebSocket architecture

master
gituser 1 неделю назад
Родитель
Сommit
01cfa21731
2 измененных файлов: 3 добавлений и 2 удалений
  1. 2
    1
      LEDLamp.ino
  2. 1
    1
      sloeber.ino.cpp

+ 2
- 1
LEDLamp.ino Просмотреть файл

digitalWrite(ledPin, HIGH); digitalWrite(ledPin, HIGH);
webSocket.sendTXT(num, "LED OFF"); webSocket.sendTXT(num, "LED OFF");
} else { } else {
// webSocket.sendTXT(num, "ACK: " + msg);
String s = "ACK: " + msg;
webSocket.sendTXT(num, s);
} }


break; break;

+ 1
- 1
sloeber.ino.cpp Просмотреть файл

//This is a automatic generated file //This is a automatic generated file
//Please do not modify this file //Please do not modify this file
//If you touch this file your change will be overwritten during the next build //If you touch this file your change will be overwritten during the next build
//This file has been generated on 2026-06-07 22:43:11
//This file has been generated on 2026-06-07 22:47:36


#include "Arduino.h" #include "Arduino.h"
#include "Arduino.h" #include "Arduino.h"

Загрузка…
Отмена
Сохранить