VoteController

Dependencies:   MQTT

Fork of PGO6_VoteController_template by Jens de hoog

Revision:
4:74736eccf6bb
Parent:
3:6b6cab4ad185
--- a/main.cpp	Thu Oct 11 15:58:11 2018 +0000
+++ b/main.cpp	Thu Oct 11 16:09:27 2018 +0000
@@ -102,7 +102,7 @@
             switch(multiclick_state){
                 case 1:
                     printf("Upvote\n");
-                    sendMessage("UPVOTE","dieter/1",&client);
+                    sendMessage("UPVOTE","dieter",&client);
                     break;
                 case 2:
                     printf("Downvote\n");