Moderator: Mmiscool
This is working for me:
myMSG = "ESPTest"
mqtt.setup("broker.mqttdashboard.com")
'mqtt.setup("broker.192.168.1.240")
mqttbranch [newmsg]
mqtt.subscribe("mmiscool")
[reset.window]
cls
textbox myMSG
button "Send", [send]
button "Clear the screen",[reset.window]
wait
[send]
mqtt.publish("mmiscool",myMSG)
wait
[newmsg]
print mqtt.msg()
wait
But when i use my local MQTT server it doesn't work?
mqtt.setup("192.168.1.240")
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com