Skip to content

Instantly share code, notes, and snippets.

@joegle joegle/
Last active Aug 29, 2015

What would you like to do?
import serial
stream = serial.Serial("/dev/ttyUSB0", 115200)
rr_intervals = []
while True:
raw_line = stream.readline()
beat_time = int(str(raw_line))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.