Module TouchSensor :: Class TouchSensor
[frames] | no frames]

Class TouchSensor

source code

GenericSensor.GenericSensor --+
                              |
                             TouchSensor

Instance Methods
 
__init__(self, port) source code
 
isPressed(self)
Returns True, if the sensor is pressed; otherwise False.
source code

Inherited from GenericSensor.GenericSensor: getPortId, getPortLabel

Method Details

__init__(self, port)
(Constructor)

source code 
Overrides: GenericSensor.GenericSensor.__init__