Méthode | 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
|
Méthode | Description | |
---|---|---|
OnPropertyChanged ( string name ) : void | ||
Read ( ) : int | ||
StopTimerInternal ( ) : void |
public NXTSoundSensor ( BrickPortSensor port ) : System | ||
port | BrickPortSensor | Sensor Port |
Résultat | System |
public NXTSoundSensor ( BrickPortSensor port, int timeout ) : System | ||
port | BrickPortSensor | Sensor port |
timeout | int | Period in millisecond to check sensor value changes |
Résultat | System |
public UpdateSensor ( object state ) : void | ||
state | object | |
Résultat | void |