This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import paho.mqtt.client as mqtt | |
import lcddriver | |
import time | |
lcd = lcddriver.lcd() | |
MQTT_SERVER = "localhost" | |
MQTT_PATH = "test_channel" | |
# The callback for when the client receives a CONNACK response from the server. |