2024-07-15 -

This commit is contained in:
Adolfo Delorenzo 2024-07-15 13:36:17 -06:00
parent 23cdacd3a0
commit 1af15011ae

2
GPS.py
View File

@ -10,7 +10,7 @@ import time, os
mqttBroker ="65.108.199.212" mqttBroker ="65.108.199.212"
myhost = os.uname()[1] myhost = os.uname()[1]
client = mqtt.Client(myhost) client = mqtt.Client(myhost)
client.connect(mqttBroker, 1883) # client.connect(mqttBroker, 1883)
ser = serial.Serial('/dev/ttyS0',115200) ser = serial.Serial('/dev/ttyS0',115200)
ser.flushInput() ser.flushInput()