public void tearDown()
 {
     raspberryPi.reset();
     raspberryPi        = null;
     TestGpiooInterface = null;
     TestLcdDisplay     = null;
     Testpotentiometer  = null;
     Testadconverter    = null;
 }
        public void setUp()
        {
            raspberryPi             = RaspberryPi.Instance;
            testAllComponents       = new HWComponent[] { new GPIOinterface(), new LCD(), new Potentiometer(), new Multiplexer(), new ADConverter() };
            testPartComponents      = new HWComponent[] { new GPIOinterface(), new Multiplexer(), new ADConverter() };
            testDuplicateComponents = new HWComponent[] { new GPIOinterface(), new Multiplexer(), new Multiplexer(), new ADConverter() };

            TestGpiooInterface = new GPIOinterface();
            TestLcdDisplay     = new LCD();
            Testpotentiometer  = new Potentiometer();
            Testmultiplexer    = new Multiplexer();
            Testadconverter    = new ADConverter();
        }
 /// <summary>
 /// Return current status of tele-coil. Note that readPin returns the last written value, which does not neccessarily
 /// represent the real status of a ping.
 /// </summary>
 /// <returns></returns>
 public string getTeleCoilStatus()
 {
     return(GPIOinterface.readPin(GpioMap.audioShoe_Pin));
 }