From 17d8db82fdd7ebfa2492dbf9bc482f3806527f85 Mon Sep 17 00:00:00 2001 From: Tanaes Date: Sat, 5 Feb 2022 12:48:56 -0500 Subject: [PATCH] testing --- lib/oven.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/lib/oven.py b/lib/oven.py index 2959a12..ff4e410 100644 --- a/lib/oven.py +++ b/lib/oven.py @@ -20,7 +20,7 @@ class Output(object): try: self.time_disp = Display(config.time_disp['type'], config.time_disp['pins']) - self.time_disp.show('TIME') + self.time_disp.time(11,11) except NameError as e: log.warning("Couldn't initialize time display") log.warning("Error: %s" % e) @@ -29,7 +29,7 @@ class Output(object): try: self.temp_disp = Display(config.temp_disp['type'], config.temp_disp['pins']) - self.time_disp.show('TEMP') + self.time_disp.temp(1337) except NameError: self.temp_disp = False @@ -78,18 +78,6 @@ class Display(object): self.disp = TM1637(pins['clock'], pins['data']) - def temp(self, t): - self.disp.temp(t) - - def time(self, h, m): - self.disp.time(h, m) - - def off(self): - self.disp.off() - - def text(self, text): - self.disp.text(text) - # FIX - Board class needs to be completely removed