minor changes on line spacing and similar trivial stuff

This commit is contained in:
p.loedige 2020-12-28 11:21:15 +01:00
parent dcbec95339
commit 8a9ed7ceb7

View File

@ -52,6 +52,7 @@ class Interface_handler:
self.xml_reader = xml_reader self.xml_reader = xml_reader
self.init_gpio() self.init_gpio()
def init_gpio(self): def init_gpio(self):
"""initialises the GPIO pins """initialises the GPIO pins
""" """
@ -100,9 +101,9 @@ class Interface_handler:
}) })
else: #throw error for protocols without write functionality else: #throw error for protocols without write functionality
raise ValueError("you can not read from device %s" % device_name) raise ValueError("you can not read from device %s" % device_name)
return returnValues return returnValues
def write(self, device_name:str, value): def write(self, device_name:str, value):
"""writes a value to all the pins of a device """writes a value to all the pins of a device