Class Commands::SoundSensor
In: lib/commands/sound_sensor.rb
Parent: Object

Implements the "Sound Sensor" block in NXT-G

Methods

logic   method_missing   mode=   new   port=   raw_value   set_mode   sound_level  

Attributes

comparison  [RW] 
mode  [R] 
port  [R] 
trigger_point  [RW] 

Public Class methods

Public Instance methods

returns true or false based on comparison and trigger point

attempt to return the input_value requested

returns the raw value of the sensor

sets up the sensor port

scaled value read from sensor

[Validate]