From 8a9ed7ceb7dc7022f259c82120b3dc712ae47aad Mon Sep 17 00:00:00 2001 From: "p.loedige" Date: Mon, 28 Dec 2020 11:21:15 +0100 Subject: [PATCH] minor changes on line spacing and similar trivial stuff --- interface_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface_handler.py b/interface_handler.py index 743b987..a3570e8 100644 --- a/interface_handler.py +++ b/interface_handler.py @@ -52,6 +52,7 @@ class Interface_handler: self.xml_reader = xml_reader self.init_gpio() + def init_gpio(self): """initialises the GPIO pins """ @@ -100,9 +101,9 @@ class Interface_handler: }) else: #throw error for protocols without write functionality raise ValueError("you can not read from device %s" % device_name) - return returnValues + def write(self, device_name:str, value): """writes a value to all the pins of a device