|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object icommand.nxt.SoundSensor
public class SoundSensor
Constructor Summary | |
---|---|
SoundSensor(SensorPort sensor)
Used to detect the loudness of sounds in the environment. |
Method Summary | |
---|---|
int |
getdB()
Returns the decibels measured by the sound sensor. e.g. |
int |
getdBA()
Returns sound within the human hearing frequency range, normalized by A-weighting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoundSensor(SensorPort sensor)
sensor
- e.g. Port.S1Method Detail |
---|
public int getdB()
public int getdBA()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |