Reverted accidental commit
git-svn-id: http://moon:8086/svn/projects/HendiControl@196 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -2,7 +2,7 @@ import time
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
from matplotlib.pyplot import figure, clf, plot, xlabel, ylabel, xlim, ylim, title, grid, axes, show, subplot
|
from matplotlib.pyplot import figure, clf, plot, xlabel, ylabel, xlim, ylim, title, grid, axes, show, subplot
|
||||||
|
|
||||||
from max31865 import Max31865
|
from tempSensorSim import TempSensorSim
|
||||||
|
|
||||||
class TempLogger():
|
class TempLogger():
|
||||||
def __init__(self, sensor):
|
def __init__(self, sensor):
|
||||||
@@ -28,7 +28,7 @@ class TempLogger():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sensor = Max31865()
|
sensor = TempSensorSim("FakeTemp")
|
||||||
logger = TempLogger(sensor)
|
logger = TempLogger(sensor)
|
||||||
result = logger.run(1, 10)
|
result = logger.run(1, 10)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user