Skip to content

Commit 4c693bb

Browse files
committed
code cleaning
1 parent 0a8a035 commit 4c693bb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ const char MQTT_PUB_TOPIC[] = "$aws/things/" THINGNAME "/shadow/pub";
1616

1717
uint8_t DST = 0;
1818
WiFiClientSecure net;
19-
SoftwareSerial UnoBoard(10, 11); // make RX Arduino line is pin 2, make TX Arduino line is pin 3.
20-
// This means that you need to connect the TX line from the esp to the Arduino's pin 2
21-
// and the RX line from the esp to the Arduino's pin 3
19+
20+
// ESP TX => Uno Pin 2 (2 in binary is 10)
21+
// ESP RX => Uno Pin 3 (3 in binary is 11)
22+
SoftwareSerial UnoBoard(10, 11);
2223

2324
BearSSL::X509List cert(cacert);
2425
BearSSL::X509List client_crt(client_cert);

0 commit comments

Comments
 (0)