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