コード例 #1
0
        public PQ011G_NandGate() : base(14)
        {
            IcType    = ICType.ic4;
            ModelName = "IC14";

            Chip = new Chips.Quad_Nand_Gates();

            PinModes[2]  = PinMode.Ouput;
            PinModes[5]  = PinMode.Ouput;
            PinModes[7]  = PinMode.Ouput;
            PinModes[10] = PinMode.Ouput;
        }
コード例 #2
0
        public PQ011G_NandGate() : base(14)
        {
            IcType    = ICType.ic4;
            ModelName = "IC14";

            PinNames = new string[] { "A1", "B1", "Y1", "A2", "B2", "Y2", "GND", "Y3", "A3", "B3", "Y4", "A4", "B4", "VCC" };

            Chip = new Chips.Quad_Nand_Gates();

            SetPinModes(2, PinMode.Ouput);
            SetPinModes(5, PinMode.Ouput);
            SetPinModes(7, PinMode.Ouput);
            SetPinModes(10, PinMode.Ouput);
        }