Page 1 of 1

wipy 1.0 and working mqtt sub script?

Posted: Fri Jan 05, 2018 2:53 am
by reichley
Good evening, all. I've successfully published messages upon connecting to an mqtt server with some of the umqtt/simple code from GitHub but cannot, for the life of me, figure out how to subscribe (and stay connected to the broker) to run the subscribe_led script! Anyone have a working, reconnect to broker, always listening mqtt subscribe code?

https://github.com/micropython/micropyt ... sub_led.py