Skip to content

Instantly share code, notes, and snippets.

@jamesshannon
jamesshannon / capture-test.py
Last active January 25, 2019 04:45 — forked from loganwilliams/capture-test.py
Test script for capturing data from Heimman HTPA 32x32d
from periphery import I2C
import time
import numpy as np
import copy
import pickle
i2c = I2C("/dev/i2c-1")
device_address = 0x1A
import datetime
import re
class RUCAnalysis(object):
def __init__(self, gsd):
lines = gsd.split('\n')
self.soundings = []