Skip to content

Commit b053d5d

Browse files
authored
Update ESP01_UNO_ElectricFan.ino
1 parent e8572bc commit b053d5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ESP01_UNO_ElectricFan.ino

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ ESP-01 Electric Fan (with Arduino Uno)
44
Author : ChungYi Fu (Kaohsiung, Taiwan) 2018-08-05 22:00
55
https://www.facebook.com/francefu
66
7+
SoftwareSerial -> TX(gpio2)->D6, RX(gpio0)->D7
8+
79
Command Format :
810
http://APIP/?cmd=str1;str2;str3;str4;str5;str6;str7;str8;str9
911
http://STAIP/?cmd=str1;str2;str3;str4;str5;str6;str7;str8;str9
@@ -260,6 +262,8 @@ void getCommand(char c)
260262

261263
/*
262264
// Arduino Uno
265+
// Servo -> pin8
266+
// Motor Driver IC -> pin10, pin11
263267
264268
#include <SoftwareSerial.h>
265269
SoftwareSerial mySerial(6, 7); // ESP01 TX(gpio2)->D6, RX(gpio0)->D7

0 commit comments

Comments
 (0)