Пример #1
0
 internal AdsPin(IAdcPeripheral parent) : base(parent, 15, 6.144)
 {
 }
Пример #2
0
 /// <summary>
 ///     Construct a new ADC pin that's part of the specified peripheral
 /// </summary>
 /// <param name="parent">The peripheral</param>
 /// <param name="bitDepth">The ADC bitdepth</param>
 /// <param name="refVoltage">The reference voltage used to compare</param>
 public AdcPeripheralPin(IAdcPeripheral parent, int bitDepth, double refVoltage)
 {
     this.parent      = parent;
     this.bitDepth    = bitDepth;
     ReferenceVoltage = refVoltage;
 }