Skip to content

Instantly share code, notes, and snippets.

View dhufe's full-sized avatar
😊

Daniel Hufschläger dhufe

😊
View GitHub Profile
@dhufe
dhufe / ms8607.py
Created January 16, 2018 10:34
MS8607 sensor readings (humidity, temperature and ambient pressure) in python
import serial
import math
import matplotlib.pyplot as plt
import numpy as np
import time
BUSPIRATE_PORT = 'com5' #customize this! Find it in device manager.
def sendPirate(ser,cmd,silent=True):
"""