Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SiddhantSilwal/RaspberryPi-GPIO-Web-Controller
/ cleanup
Method
cleanup
AppData/app.py:58–58 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
56
def
PWM(self, pin, freq):
57
return
type(
'PWM'
, (), {
'start'
:
lambda
duty: None,
'stop'
:
lambda
: None,
'ChangeDutyCycle'
:
lambda
duty: None})()
58
def
cleanup(self): self._pins.clear()
59
60
GPIO = MockGPIO()
61
Callers
1
cleanup_all
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected