Skip to content

Instantly share code, notes, and snippets.

Avatar

Mohamed Afzal pixelatedpic

View GitHub Profile
@pixelatedpic
pixelatedpic / piGps.py
Created Jul 26, 2018
Raspberry PI interfaced GPS
View piGps.py
import serial
from time import sleep
gpsport = serial.Serial("/dev/ttyAMA0",bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=0, rtscts=0)
#gpsport.flush()
#sleep(5)
while True:
# sleep(.5)
# gpsport.flush()
raw = gpsport.readline()
@pixelatedpic
pixelatedpic / mosquitto_websockets.md
Created May 28, 2018 — forked from smoofit/mosquitto_websockets.md
Howto install mosquitto with websockets
View mosquitto_websockets.md
You can’t perform that action at this time.