Przeglądaj źródła

Changed clock from D4 to D1

Vincent Molenaar 3 lat temu
rodzic
commit
2bf5bde7c5
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      data/index.html
  2. 1 1
      src/main.cpp

+ 1 - 1
data/index.html

@@ -2,7 +2,7 @@
     <head>
         <link rel="stylesheet" href="reset.css">
         <link rel="stylesheet" href="style.css">
-        
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
     </head>
     <body>
         <details>

+ 1 - 1
src/main.cpp

@@ -21,7 +21,7 @@ D4 = 4 - Clock
 ESP8266WebServer httpServer(80);
 WebSocketsServer webSocket = WebSocketsServer(81);
 
-int clockPin = D4;
+int clockPin = D1;
 int dataPin = D2;
 int loadPin = D6;
 int resetPin = D7;