... | @@ -157,11 +157,11 @@ WiFi.begin(SSID,PWD,6); |
... | @@ -157,11 +157,11 @@ WiFi.begin(SSID,PWD,6); |
|
|
|
|
|
### Implementing the MQTT-Connection
|
|
### Implementing the MQTT-Connection
|
|
|
|
|
|
> Due to our simulation environment we going to use the PubSubClient Library, which is accessable in the wokwi-library-Manager
|
|
> Due to our simulation environment we are going to use the PubSubClient Library, which is accessable in the wokwi-library-Manager
|
|
>
|
|
>
|
|
> Additionaly we are adding a function to build our Data-Object. Try to test the following Code and understand the System-Architecture und flow. Hint: chatgpt can help you with that.
|
|
> Additionaly we are adding a function to build our Data-Object. Try to test the following Code and understand the System-Architecture und flow. Hint: chatgpt can help you with that.
|
|
>
|
|
>
|
|
> Hint: Add the neccessary Libraries in your simulation-project via the library-manager
|
|
> :bulb: Hint: Add the neccessary Libraries in your simulation-project via the library-manager
|
|
|
|
|
|
```
|
|
```
|
|
#include <Arduino.h>
|
|
#include <Arduino.h>
|
... | | ... | |