System.Hardware.Arduino.SamplePrograms.Pulse
Detecting pulses
pulseInDemo
Sending pulses
pulseOutDemo