/// <summary>Initialises a new parallel output port</summary> /// <param name="MainChain">The object of the main chain</param> /// <param name="StartBit">The first bit to write</param> /// <param name="BitCount">The amount of bits to write</param> /// <param name="Inverted">When true, bits will be inverted</param> public Ic74hc595ParallelOut(Ic74hc595 MainChain, uint StartBit, uint BitCount, bool Inverted) { this._Chain = MainChain; this._StartBit = StartBit; this._BitCount = BitCount; this._Inverted = Inverted; }
/// <summary> /// Defines a GPO Port /// </summary> /// <param name="MainChain">The object of the main chain</param> /// <param name="BitNo">The number of the bit</param> public Ic74hc595GPOPort(Ic74hc595 MainChain, uint BitNo) { // Copies the parameters to local values this._Chain = MainChain; this._BitNo = BitNo; }