Skip to content

Commit 9cefb97

Browse files
committed
fix broken pigpio stub
1 parent 4dafeb7 commit 9cefb97

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.pythonPath": "/usr/local/bin/python3"
3+
}

stub/pigpio.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
#from test.pigpio_mock import PIGPIOMock
1+
from pigpio_mock import PIGPIOMock
2+
3+
pi = PIGPIOMock
24

35
INPUT=1
46
OUTPUT=2
57
RISING_EDGE=1
68
EITHER_EDGE=2
7-
8-
class pi:
9-
def __init__(self, host="localhost", port=8888):
10-
pass

test/cnn_models.tar.xz

18.3 MB
Binary file not shown.

test/vue-app

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 0b0574b8caafbb22dc6e8c7d04fb8955c0632628

0 commit comments

Comments
 (0)