nodemcu 控制風扇
影片 --- 電路圖 --- 程式碼 --- lua Copy -- Rui Santos -- Complete project details at http://randomnerdtutorials.com wifi . setmode ( wifi . STATION ) wifi . sta . config ( "abcdefg" , "00000000" ) l…
LABEL / ESP8266
6 posts
影片 --- 電路圖 --- 程式碼 --- lua Copy -- Rui Santos -- Complete project details at http://randomnerdtutorials.com wifi . setmode ( wifi . STATION ) wifi . sta . config ( "abcdefg" , "00000000" ) l…
程式碼 --- arduino_i2c.ino cpp Copy #include <Wire.h> const byte SLAVE_ADDRESS = 0x15 ; void setup () { Wire . begin ( 0x15 ); // join i2c bus with address #8 Wire . onReceive ( receiveEvent );…
電路圖 --- 程式碼 --- cpp Copy /* * IRremoteESP8266: IRrecvDemo - demonstrates receiving IR codes with IRrecv * An IR detector/demodulator must be connected to the input RECV_PIN. * Version 0.1 Se…
網頁 --- 電路圖 --- 程式碼 --- lua Copy // WiFi Weather Station // Required libraries # include < ESP8266WiFi . h > // Libraries # include < dht . h > // Pin # define dht_dpin 16 // 定義訊號要從 Pin A0 進來…
電路圖 --- 程式碼 --- lua Copy # include < SPI . h > # include < MFRC522 . h > # define SS_PIN D4 # define RST_PIN D8 MFRC522 rfid ( SS_PIN , RST_PIN ); // Instance of the class MFRC522 :: MIFARE_…
網頁 --- 電路圖 --- 程式碼 --- lua Copy # include < ESP8266WebServer . h > int sensorPin = 2 ; int value = 0 ; const char * ssid = "AP" ; const char * password = "123456789" ; WiFiServer server ( 80…