Fix local var name
This commit is contained in:
parent
a7189ecccc
commit
be6f3376ee
@ -6,7 +6,7 @@ io.setmode(io.BCM)
|
|||||||
|
|
||||||
class Pin:
|
class Pin:
|
||||||
def __init__(self, num, off=io.HIGH):
|
def __init__(self, num, off=io.HIGH):
|
||||||
self.num = num
|
self.pin = num
|
||||||
self.off = off
|
self.off = off
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user