Пример #1
0
        // Cat
        public void WireUp1(Expander.Raspberry port)
        {
            port.DigitalInputs[0].Connect(buttonMotionCat);
            port.DigitalInputs[4].Connect(buttonTriggerStairs, true);
            port.DigitalOutputs[0].Connect(switchDeadendDrive);
            port.DigitalOutputs[1].Connect(switchFog);
            port.Motor.Connect(georgeMotor);

            port.Connect(audioCat);
        }
Пример #2
0
 public void WireUp(Expander.DMXPro port)
 {
 }
Пример #3
0
 public void WireUp(Expander.MidiInput port)
 {
     port.AddDigitalInput_Note(buttonTest1, 0, 36);
     port.AddAnalogInput_Note(testInput1, 0, 37);
     port.AddAnalogInput_Note(testInput1, 1, 37);
     port.AddAnalogInput_Controller(testInput1, 0, 1);
     port.AddAnalogInput_Controller(inputH, 0, 2);
     port.AddAnalogInput_Controller(inputS, 0, 3);
     port.AddAnalogInput_Controller(inputV, 0, 4);
 }
Пример #4
0
        public void WireUp(Expander.AcnStream port)
        {
            port.Connect(new Physical.GenericDimmer(lightNetRight, 181), 7);
            port.Connect(new Physical.GenericDimmer(lightHatsRight, 182), 7);

            // GECE
            port.Connect(new Physical.PixelRope(allPixels, 50, 50), 2, 91);
            // WS2811
            port.Connect(new Physical.PixelRope(allPixels, 0, 60), 3, 181);

            //            port.JoinDmxUniverse(1);
        }
Пример #5
0
        public void WireUp1(Expander.Raspberry port)
        {
            port.DigitalInputs[4].Connect(buttonRed);
            port.DigitalInputs[5].Connect(buttonBlue);
            port.DigitalOutputs[0].Connect(switchButtonBlue);
            port.DigitalOutputs[1].Connect(switchButtonRed);
            port.DigitalOutputs[2].Connect(elJesus);

            port.Connect(audioPlayer);
        }
Пример #6
0
 public void WireUp(Expander.DMXPro port)
 {
     port.Connect(new Physical.SmallRGBStrobe(candyLight, 16));
 }
Пример #7
0
        public void WireUp(Expander.IOExpander port)
        {
            port.Connect(new Physical.PixelRope(allPixels, 0, 50));

            port.DigitalInputs[0].Connect(buttonRed);
            port.DigitalInputs[1].Connect(buttonBlue);
            port.DigitalInputs[2].Connect(buttonStartReindeer);

            port.DigitalOutputs[0].Connect(buttonLightRed);
            port.DigitalOutputs[1].Connect(buttonLightBlue);
            port.DigitalOutputs[2].Connect(elLightsaber);
            port.DigitalOutputs[3].Connect(elJesus);
        }
Пример #8
0
        public void WireUp(Expander.IOExpander port)
        {
            port.Connect(new Physical.AmericanDJStrobe(georgeStrobeLight, 5));
            port.Connect(new Physical.RGBStrobe(spiderLight, 10));
            port.Connect(new Physical.GenericDimmer(skullsLight, 1));
            port.Connect(new Physical.GenericDimmer(cobWebLight, 3));
            port.Connect(new Physical.GenericDimmer(blinkyEyesLight, 4));
            port.Connect(new Physical.SmallRGBStrobe(candyLight, 16));
            port.Connect(new Physical.RGBStrobe(rgbLightRight, 20));
            port.Connect(new Physical.RGBStrobe(georgeLight, 30));
            port.Connect(new Physical.RGBStrobe(leftSkeletonLight, 40));

            port.Motor.Connect(georgeMotor);

            port.DigitalInputs[0].Connect(pressureMat);
            port.DigitalInputs[1].Connect(testButton);
            port.DigitalOutputs[0].Connect(spiderLift);
            port.DigitalOutputs[1].Connect(smokeMachine);
            port.DigitalOutputs[2].Connect(spiderEyes);
        }
Пример #9
0
        public void WireUp(Expander.IOExpander port)
        {
            port.Connect(new Physical.AmericanDJStrobe(georgeStrobeLight, 5));

            port.Connect(new Physical.RGBStrobe(spiderLight, 10));
            port.Connect(new Physical.GenericDimmer(skullsLight, 1));
            port.Connect(new Physical.GenericDimmer(cobWebLight, 3));
            port.Connect(new Physical.GenericDimmer(blinkyEyesLight, 4));
            port.Connect(new Physical.RGBStrobe(rgbLightRight, 20));
            port.Connect(new Physical.RGBStrobe(rgbLight3, 30));
            port.Connect(new Physical.RGBStrobe(rgbLight4, 40));

            port.Motor.Connect(georgeMotor);

            port.DigitalInputs[0].Connect(pressureMat);
            port.DigitalOutputs[0].Connect(spiderLift);
        }
Пример #10
0
        public void WireUp(Expander.DMXPro port)
        {
            port.Connect(new Physical.GenericDimmer(catLights, 1));
            port.Connect(new Physical.GenericDimmer(catFan, 2));
            port.Connect(new Physical.AmericanDJStrobe(lightPopup, 5));
            port.Connect(new Physical.RGBStrobe(lightGeorge, 40));
            port.Connect(new Physical.RGBStrobe(lightBeauty, 30));
            port.Connect(new Physical.RGBStrobe(lightFloor, 20));
            port.Connect(new Physical.SmallRGBStrobe(lightSign, 50));

            port.Connect(new Physical.GenericDimmer(skullsLight, 100));
            port.Connect(new Physical.GenericDimmer(lightTreeGhost, 103));
            port.Connect(new Physical.GenericDimmer(lightSpiderWeb, 104));
            port.Connect(new Physical.GenericDimmer(skullsLight2, 105));
            port.Connect(new Physical.GenericDimmer(lightEyes, 106));
        }
Пример #11
0
 public void WireUp(Expander.IOExpander port)
 {
     port.Connect(new Physical.SmallRGBStrobe(light5_1, 16));
     port.DigitalInputs[0].Connect(testButton);
 }
Пример #12
0
        // Spider
        public void WireUp4(Expander.Raspberry port)
        {
            port.Connect(audioSpider);

            port.DigitalOutputs[0].Connect(switchSpider);
            port.DigitalOutputs[2].Connect(switchSpiderEyes1);
            port.DigitalOutputs[3].Connect(switchSpiderEyes2);
        }
Пример #13
0
 // Background/George
 public void WireUp3(Expander.Raspberry port)
 {
     port.Connect(audioGeorge);
 }
Пример #14
0
        // Beauty
        public void WireUp2(Expander.Raspberry port)
        {
            port.Connect(audioBeauty);
            port.DigitalOutputs[7].Connect(switchHand);
            port.DigitalOutputs[2].Connect(switchHead);
            port.DigitalOutputs[5].Connect(switchDrawer1);
            port.DigitalOutputs[6].Connect(switchDrawer2);
            port.DigitalOutputs[3].Connect(switchPopEyes);
            port.DigitalOutputs[4].Connect(switchPopUp);

            port.DigitalInputs[5].Connect(buttonMotionBeauty, true);
            port.DigitalInputs[6].Connect(buttonTriggerPopup, true);
        }
Пример #15
0
 public void WireUp(Expander.IOExpander port)
 {
     port.Connect(new Physical.GenericDimmer(explosion1, 1));
     port.Connect(new Physical.GenericDimmer(explosion2, 2));
     port.Connect(new Physical.GenericDimmer(explosion3, 3));
     port.Connect(new Physical.GenericDimmer(explosion4, 4));
     port.Connect(new Physical.PixelRope(testPixels));
     port.DigitalInputs[0].Connect(testButton);
 }
Пример #16
0
        public void WireUp(Expander.DMXPro port)
        {
            port.Connect(new Physical.AmericanDJStrobe(georgeStrobeLight, 16));

            port.Connect(new Physical.RGBStrobe(spiderLight, 10));
            port.Connect(new Physical.GenericDimmer(skullsLight, 1));
            port.Connect(new Physical.GenericDimmer(cobWebLight, 3));
            port.Connect(new Physical.GenericDimmer(blinkyEyesLight, 4));
            port.Connect(new Physical.RGBStrobe(rgbLightRight, 20));
            port.Connect(new Physical.RGBStrobe(rgbLight3, 30));
            port.Connect(new Physical.RGBStrobe(rgbLight4, 40));
        }
Пример #17
0
 public void WireUp(Expander.IOExpander port)
 {
     port.Connect(new Physical.SmallRGBStrobe(candyLight, 16));
     port.DigitalInputs[0].Connect(pressureMat);
 }
Пример #18
0
        public void WireUp1(Expander.Raspberry port)
        {
            port.DigitalOutputs[7].Connect(relayDirA);
            port.DigitalOutputs[6].Connect(relayDirB);
            port.DigitalOutputs[5].Connect(relayStart);

            port.Connect(audioPlayer);
        }
Пример #19
0
 public void WireUp(Expander.AcnStream port)
 {
 }
Пример #20
0
 public void WireUp(Expander.DMXPro port)
 {
     port.Connect(new Physical.SmallRGBStrobe(light1, 50));
 }
Пример #21
0
 public void WireUp(Expander.DMXPro port)
 {
     port.Connect(new Physical.GenericDimmer(lightNetRight, 1));
     port.Connect(new Physical.GenericDimmer(lightGarlandRight, 2));
     port.Connect(new Physical.GenericDimmer(lightHatsRight, 3));
     port.Connect(new Physical.GenericDimmer(lightTreesRight, 4));
     port.Connect(new Physical.GenericDimmer(lightReindeers, 5));
     port.Connect(new Physical.GenericDimmer(lightIcicles, 6));
     port.Connect(new Physical.GenericDimmer(lightNetLeft, 7));
     port.Connect(new Physical.GenericDimmer(lightTree, 8));
     port.Connect(new Physical.GenericDimmer(lightGarlandLeft, 9));
     port.Connect(new Physical.GenericDimmer(lightUnused1, 10));
     port.Connect(new Physical.GenericDimmer(lightUnused2, 11));
     port.Connect(new Physical.GenericDimmer(bigReindeer, 12));
     port.Connect(new Physical.SmallRGBStrobe(lightJesus, 20));
     port.Connect(new Physical.RGBStrobe(lightCeiling1, 30));
     port.Connect(new Physical.RGBStrobe(lightCeiling2, 50));
     port.Connect(new Physical.RGBStrobe(lightCeiling3, 60));
     port.Connect(new Physical.RGBStrobe(lightVader, 40));
 }
Пример #22
0
 public void WireUp(Expander.Renard port)
 {
     port.Connect(new Physical.GenericDimmer(testLight1, 24));
 }
Пример #23
0
        public void WireUp(Expander.AcnStream port)
        {
            // WS2811
            port.Connect(new Physical.PixelRope(allPixels, 0, 100), 4, 1);
            port.Connect(new Physical.PixelRope(saberPixels, 0, 60), 1, 1);
            port.Connect(new Physical.PixelRope(starwarsPixels, 0, 50), 4, 1);
            // GECE
            port.Connect(new Physical.PixelRope(allPixels, 0, 50), 2, 91);
            port.Connect(new Physical.PixelRope(starwarsPixels, 0, 50), 2, 91);

            port.Connect(new Physical.GenericDimmer(lightStar, 1), 21);
            port.Connect(new Physical.GenericDimmer(lightHat1, 2), 21);
            port.Connect(new Physical.GenericDimmer(lightHat2, 3), 21);
            port.Connect(new Physical.GenericDimmer(lightHat3, 4), 21);
            port.Connect(new Physical.GenericDimmer(lightHat4, 5), 21);
            port.Connect(new Physical.GenericDimmer(lightSnow1, 6), 21);
            port.Connect(new Physical.GenericDimmer(lightSnow2, 7), 21);
            port.Connect(new Physical.GenericDimmer(lightTopperSmall, 8), 21);
            port.Connect(new Physical.GenericDimmer(lightTopperLarge, 9), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland1, 10), 21);
            port.Connect(new Physical.GenericDimmer(lightString2, 11), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland4, 12), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland3, 13), 21);
            port.Connect(new Physical.GenericDimmer(lightXmasTree, 14), 21);
            port.Connect(new Physical.GenericDimmer(lightStairs2, 15), 21);
            port.Connect(new Physical.GenericDimmer(lightNet1, 17), 21);
            port.Connect(new Physical.GenericDimmer(lightString1, 19), 21);
            port.Connect(new Physical.GenericDimmer(lightNet2, 20), 21);
            port.Connect(new Physical.GenericDimmer(lightGarland2, 22), 21);
            port.Connect(new Physical.GenericDimmer(lightStairs1, 24), 21);

            port.Connect(new Physical.GenericDimmer(switchDeerHuge, 3), 20);
            port.Connect(new Physical.GenericDimmer(switchSanta, 4), 20);
            port.Connect(new Physical.RGBStrobe(lightTreeUp, 20), 20);
            port.Connect(new Physical.RGBStrobe(lightVader, 40), 20);
            port.Connect(new Physical.RGBStrobe(light3wise, 30), 20);
            port.Connect(new Physical.GenericDimmer(lightDeerLarge, 100), 20);
            port.Connect(new Physical.GenericDimmer(lightDeerSmall, 101), 20);
            port.Connect(new Physical.SmallRGBStrobe(lightJesus, 48), 20);
        }
Пример #24
0
        public void WireUp(Expander.IOExpander port)
        {
            //            port.Connect(new Physical.PixelRope(allPixels, 0, 50));
            //            port.Connect(new Physical.PixelRope(allPixels, 50, 50));

            //            port.DigitalInputs[1].Connect(buttonTest);
        }
Пример #25
0
 public void WireUp(Expander.IOExpander port)
 {
     port.DigitalInputs[0].Connect(testButton);
 }
Пример #26
0
 public void WireUp(Expander.Raspberry port)
 {
 }
Пример #27
0
 public void WireUp(Expander.AcnStream port)
 {
     // WS2811
     port.Connect(new Physical.PixelRope(allPixels, 0, 60), 3, 181);
 }
Пример #28
0
 public void WireUp(Expander.AcnStream port)
 {
     // WS2811
     port.Connect(new Physical.PixelRope(allPixels, 0, 28), 4, 1);
     //// WS2811
     //port.Connect(new Physical.PixelRope(allPixels, 28, 50), 1, 151);
 }
Пример #29
0
        public void WireUp1(Expander.Raspberry port)
        {
            port.DigitalInputs[7].Connect(buttonTrigger1);
            port.DigitalOutputs[7].Connect(switchTest1);

            port.Connect(audioPlayer);
        }
Пример #30
0
 public void WireUp(Expander.AcnStream port)
 {
     // WS2811
     port.Connect(new Physical.PixelRope(allPixels, 0, 100), 4, 1);
     // GECE
     port.Connect(new Physical.PixelRope(allPixels, 100, 50), 2, 91);
 }