How do I decouple these two modules?

37 views
Skip to first unread message

Spencer Du

unread,
Aug 28, 2019, 3:54:18 AM8/28/19
to MQTT
Hi

I have code for a GUI and MQTT. How do I make both of these modules decoupled because currently they rely on each other to some extent.

Thanks
Spencer
GUI.py
mqtt.py

Ranjith Kumar Diraviyam

unread,
Aug 30, 2019, 1:40:21 AM8/30/19
to MQTT
Hi, 

Try building applications using the python based web server for User Interface and have some threads.  We use a combo of C & Python for all our tools like MQTT broker & MQTT Simulator  

Ranith
Reply all
Reply to author
Forward
0 new messages