BrickPi.Sensors.EV3TouchSensor.UpdateSensor C# (CSharp) Méthode

UpdateSensor() public méthode

Update the sensor and this will raised an event on the interface
public UpdateSensor ( object state ) : void
state object
Résultat void
        public void UpdateSensor(object state)
        {
            Value = ReadRaw();
            ValueAsString = ReadAsString();
        }