Skip to content
Snippets Groups Projects
Verified Commit 2560390d authored by Anian Bühler's avatar Anian Bühler
Browse files

removed unused callback

parent 783b6c15
No related merge requests found
......@@ -34,15 +34,6 @@
char topicPub[MAX_LEN_TOPICS] = {""}; // Array für eigenes Sende-Topic
// Callback-Funktion wird bei neuen Daten automatisch aufgerufen
void newData(char *topic, char *payload)
{
// Ausgabe-> "Chatname": "geschriebene Nachricht"
Serial.print(topic); // topic entspricht im Chat dem NAmen des Chatpartners
Serial.print(":\t");
Serial.println(payload); // payload enthält die geschriebene Nachricht
}
SoftwareSerial sSerial(10, 11); // SoftwareSerial an Rx = Pin10 -> Empfänger | Tx = Pin11 -> Sender
DidacticPSNetClient psnClient; // Erzeuge PubSub-Client-Instanz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment