Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SiddhantSilwal/RaspberryPi-GPIO-Web-Controller
/ setmode
Method
setmode
AppData/app.py:48–48 ·
view source on GitHub ↗
(self, mode)
Source
from the content-addressed store, hash-verified
46
_pins = {}
47
48
def
setmode(self, mode):
pass
49
def
setwarnings(self, flag):
pass
50
def
setup(self, pin, mode, pull_up_down=None):
51
self._pins[pin] = {
'mode'
: mode,
'value'
: 0,
'pull'
: pull_up_down}
Callers
1
app.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected