/// <summary> /// Initializes a new instance of the <see cref="Mcp3208InputAnalogPin" /> class. /// </summary> /// <param name="connection">The connection.</param> /// <param name="channel">The channel.</param> public Mcp3208InputAnalogPin(Mcp3208Device connection, Mcp3208Channel channel) { this.connection = connection; this.channel = channel; }
/// <summary> /// Creates an analog input pin. /// </summary> /// <param name="connection">The connection.</param> /// <param name="channel">The channel.</param> /// <returns>The pin.</returns> public static Mcp3208InputAnalogPin In(this Mcp3208Device connection, Mcp3208Channel channel) { return(new Mcp3208InputAnalogPin(connection, channel)); }