/// <summary> /// Creates a new Amt22 instance. /// </summary> /// <param name="ChipSelectPin">The number of the chip select pin for this device, /// using the BCM numbering scheme.</param> /// <param name="Logger">The logger for capturing debug and info messages</param> public Amt22(byte ChipSelectPin, Logger Logger) { this.Logger = Logger; Spi = new SpiDevice(ChipSelectPin, 1000000, SpiMode.Mode0, 3, 3, 40, 3); }