minor changes on line spacing and similar trivial stuff
This commit is contained in:
parent
dcbec95339
commit
8a9ed7ceb7
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user