Jan-27-2020, 02:32 PM
actually i am not a programmer, thats why i am stuck in this thing. i make this program for traffic signals where it runs periodically red,yellow and green. now i want this to run with mqtt on real time while the signal is red it send messages to subscribers and when its yellow or green it send messages when it flashes green or yellow. so i am struggling in my loop i could't manage to run with mqtt.