- brewpi: only plot smoothed values

- max31865: no rounding

git-svn-id: http://moon:8086/svn/projects/HendiControl@234 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-04-08 10:16:37 +00:00
parent 7e7c1bb9df
commit 841d977d78
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ def results_plot(self):
figure(1)
subplot(4, 1, 1)
plot(self.time_v, self.theta_v, 'b-', self.time_v, self.theta_k_v, 'r-', linewidth=1)
plot(self.time_v, self.theta_k_v, 'r-', linewidth=1)
title('Temperature')
grid(True)
ylabel('°C')
@@ -28,7 +28,7 @@ def results_plot(self):
grid(True)
ylabel('°C')
subplot(4, 1, 4)
plot(self.time_v, self.heatrate_v, 'b-', self.time_v, self.heatrate_k_v, 'r-', linewidth=1)
plot(self.time_v, self.heatrate_k_v, 'r-', linewidth=1)
title('Heatrate')
grid(True)
ylabel('°C/min')
+1 -1
View File
@@ -33,7 +33,7 @@ class Max31865(ATemperatureSensor):
return digits
def temperature(self):
return round(self.__tempRaw(), 1)
return self.__tempRaw()
def __tempRaw(self):
digits = self.read_digits()