Microsoft.SPOT.Hardware.InterruptPort.DisableInterrupt C# (CSharp) Method

DisableInterrupt() public method

public DisableInterrupt ( ) : void
return void
        public override void DisableInterrupt()
        {
        }

Usage Example

Example #1
0
        public UltraSonicSensor(Cpu.Pin echoPin, Cpu.Pin triggerPin)
        {
            _echoPin = new InterruptPort(echoPin, true, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth);
            _triggerPin = new OutputPort(triggerPin, false);

            _echoPin.OnInterrupt += port_OnInterrupt;
            _echoPin.DisableInterrupt();
        }
All Usage Examples Of Microsoft.SPOT.Hardware.InterruptPort::DisableInterrupt