Skip to content

Instantly share code, notes, and snippets.

View g3ntleman's full-sized avatar

Dirk T. g3ntleman

  • Objectpark Software
  • Germany
  • 10:11 (UTC +01:00)
View GitHub Profile
@g3ntleman
g3ntleman / readserial.py
Last active May 10, 2019 16:12 — forked from andypiper/readserial.py
Scrape serial port for text data and publish on MQTT
#!/usr/bin/python3
#
#simple app to read string from serial port
#and publish via MQTT
#
#uses the Python MQTT client from the Mosquitto project
#http://mosquitto.org
#
#Andy Piper http://andypiper.co.uk
#2011/09/15