Dependencies: LCD_i2c_GSOE ESP8266MQTT
Diff: main.cpp
- Revision:
- 8:080aa372ff1f
- Parent:
- 7:4a93a41afa3b
- Child:
- 9:c37085ea102a
--- a/main.cpp Tue Jul 27 09:29:56 2021 +0000 +++ b/main.cpp Mon Aug 16 17:21:39 2021 +0000 @@ -1,16 +1,7 @@ #include "mbed.h" #include "PubSubClient.h" //MQTT- Bibliothek #include "LCD.h" //LCD-Display-Bibliothek -/* - "wifi-ssid": { - "help": "WiFi SSID", - "value": "\"x-Netz\"" - }, - "wifi-password": { - "help": "WiFi Password", - "value": "\"aCT3xuSbm9rt\"" - }, -*/ + /* "mqtt-broker-hostname": { "help": "MQTT Broker resolvable hostname.", @@ -81,11 +72,9 @@ //Poti veröffentlichen sprintf(buffer, "poti=%d", (int)(poti*4095)); //Potiwert in buffer speichern client.publish("MBED/joerg/ersteTests", buffer); //unter Topic veröffentlichen - //HAL_Delay(200); //diag veröffentlichen sprintf(buffer, "diag=%d", d); //diag in buffer speichern client.publish("MBED/joerg/zweiteTests", buffer); //unter Topic veröffentlichen - //HAL_Delay(200); } }