Changes
Page history
Update P4FollowLine
authored
Nov 16, 2022
by
Roberto
Show whitespace changes
Inline
Side-by-side
P4FollowLine.md
View page @
1cc41f7f
...
...
@@ -38,6 +38,37 @@ void loop(){
}
```
-
Para comprobar la conexión WiFi utiliza el siguiente código:
```
#include "WiFi.h"
const char* ssid = SECRET_SSID;
const char* password = SECRET_PSW;
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.println("Connecting to WiFi..");
}
Serial.println("Connected to the WiFi network");
Serial.println(WiFi.localIP());
}
void loop() {
}
```
## Mensajes
Tu robot debe mandar los siguientes mensajes siempre conectando al servidor MQTT
...
...
...
...