File tree 1 file changed +4
-3
lines changed
examples/FirebaseSerialHost_ESP8266
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 14
14
// limitations under the License.
15
15
//
16
16
17
+
17
18
// FirebasePush_ESP8266 is a sample that will start our serial transciever
18
- // listening on a software port and allow debug info over main serial port.
19
+ // listening on a software port and allow debug over the main serial port.
19
20
//
20
21
// A suggested setup for testing this example would be a USB to TTL cable
21
22
// with the green wire connected to pin 5 and the white wire connected to
22
- // pin 4.
23
+ // pin 4 (on the huzzah feather esp8266) .
23
24
// First edit begin.txt and put in your host and secret.
24
25
// Then run the following commands to setup the serial port in linux:
25
26
// stty -F /dev/ttyUSB0 9600 raw -echo -echoe -echok
26
27
// Then on one console do:
27
28
// cat /dev/ttyUSB0 &
28
29
// This console will now read all responses from the modem. Then do:
29
30
// cat begin.txt > /dev/ttyUSB0
30
- // You should see +OK and you can now feed in theother example commmands.
31
+ // You should see +OK and you can now feed in the other example commmands.
31
32
32
33
#include < SoftwareSerial.h>
33
34
#include < ESP8266WiFi.h>
You can’t perform that action at this time.
0 commit comments