pyb.Switch
Classes
Create and return a switch object. |
Module Contents
- class pyb.Switch.Switch
Bases:
pyb.Pin.PinCreate and return a switch object.
- __call__() Incomplete
Call switch object directly to get its state:
Trueif pressed down,Falseotherwise.