public static void Clear(this Pin pin)
 {
     pin.Write(PinValue.Low);
 }
 public static void Set(this Pin pin)
 {
     pin.Write(PinValue.High);
 }