메소드 | 설명 | |
---|---|---|
EV3TouchSensor ( BrickPortSensor port ) : System |
Initialise an EV3 Touch sensor
|
|
EV3TouchSensor ( BrickPortSensor port, int timeout ) : System |
Initialize an EV3 Touch Sensor
|
|
GetSensorName ( ) : string | ||
IsPressed ( ) : bool |
Determines whether the touch sensor is pressed.
|
|
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
|
메소드 | 설명 | |
---|---|---|
OnPropertyChanged ( string name ) : void | ||
StopTimerInternal ( ) : void |
public EV3TouchSensor ( BrickPortSensor port ) : System | ||
port | BrickPortSensor | Sensor port |
리턴 | System |
public EV3TouchSensor ( BrickPortSensor port, int timeout ) : System | ||
port | BrickPortSensor | Sensor port |
timeout | int | Period in millisecond to check sensor value changes |
리턴 | System |