Class TouchSensor
In: lib/sensors/touch_sensor.rb
Parent: Sensor

Methods

is_pressed?   new   pressed?  

Public Class methods

Public Instance methods

Returns true if the touch sensor is pressed, false otherwise. (The sensor seems to read as "pressed" when it is pushed in about half way)

pressed?()

Alias for is_pressed?

[Validate]