Spaces:
Sleeping
Sleeping
Xavier L'Heureux
commited on
Typo
Browse files- frontend.py +1 -1
frontend.py
CHANGED
@@ -17,7 +17,7 @@ WREG = 0x40
|
|
17 |
class Frontend:
|
18 |
def __init__(self):
|
19 |
self.nrst = GPIO("/dev/gpiochip2", 9, "out")
|
20 |
-
self.
|
21 |
self.start = GPIO("/dev/gpiochip3", 29, "out")
|
22 |
self.dev = SpiDev()
|
23 |
self.dev.open(0, 0)
|
|
|
17 |
class Frontend:
|
18 |
def __init__(self):
|
19 |
self.nrst = GPIO("/dev/gpiochip2", 9, "out")
|
20 |
+
self.pwdn = GPIO("/dev/gpiochip2", 12, "out")
|
21 |
self.start = GPIO("/dev/gpiochip3", 29, "out")
|
22 |
self.dev = SpiDev()
|
23 |
self.dev.open(0, 0)
|