|
@@ -139,7 +139,7 @@ class GPIOWrapper(object):
|
|
|
self.IN = getattr(self.gpio,"IN",self.IN)
|
|
|
# self.BCM = getattr(self.gpio,self.BCM)
|
|
|
|
|
|
- def output(pins,state,*args):
|
|
|
+ def output(self,pins,state,*args):
|
|
|
lgpio.debug("setting pin(s) {:0>2} to value {}".format(
|
|
|
pins,state))
|
|
|
if type(pins) is int:
|
|
@@ -148,7 +148,7 @@ class GPIOWrapper(object):
|
|
|
if self.gpio:
|
|
|
self.gpio.output(pins,state)
|
|
|
|
|
|
- def parse_to_int_list(parse,*args):
|
|
|
+ def parse_to_int_list(self,parse,*args):
|
|
|
if type(parse) is list:
|
|
|
return parse
|
|
|
elif type(parse) is int:
|