Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

micropython button interrups

>>> def f():
...   pyb.LED(1).toggle()
...
>>> sw.callback(f)
Source by docs.micropython.org #
 
PREVIOUS NEXT
Tagged: #micropython #button #interrups
ADD COMMENT
Topic
Name
4+2 =