Method | Description | |
---|---|---|
GetSensorName ( ) : string | ||
NXTSoundSensor ( BrickPortSensor port ) : System |
Initialize a NXT Sound Sensor
|
|
NXTSoundSensor ( BrickPortSensor port, int timeout ) : System |
Initialize a NXT Sound Sensor
|
|
NumberOfModes ( ) : int | ||
ReadAsString ( ) : string |
Reads the sensor value as a string.
|
|
ReadRaw ( ) : int |
Reads the raw sensor value
|
|
SelectNextMode ( ) : void | ||
SelectPreviousMode ( ) : void | ||
SelectedMode ( ) : string | ||
UpdateSensor ( object state ) : void |
Update the sensor and this will raised an event on the interface
|
Method | Description | |
---|---|---|
OnPropertyChanged ( string name ) : void | ||
Read ( ) : int | ||
StopTimerInternal ( ) : void |
public NXTSoundSensor ( BrickPortSensor port ) : System | ||
port | BrickPortSensor | Sensor Port |
return | System |
public NXTSoundSensor ( BrickPortSensor port, int timeout ) : System | ||
port | BrickPortSensor | Sensor port |
timeout | int | Period in millisecond to check sensor value changes |
return | System |