This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9dbb6fdb38
circuitpython
/
tests
/
pyb
/
switch.py
7 lines
87 B
Python
Raw
Blame
History
from
pyb
import
Switch
sw
=
Switch
(
)
print
(
sw
(
)
)
sw
.
callback
(
print
)
sw
.
callback
(
None
)
Reference in New Issue
View Git Blame
Copy Permalink