// * This is the constructor to create a new Digital Out on mbed
        // *
        // * @param connectedMbed The mbed object for the mbed that the DigitalOut is to be created on.
        // * @param pin The pin that is to be used as a Digital Out
        public DigitalOut(SerialRPC connectedMbed, MbedPin pin)
        {
            //Create a new DigitalOut on mbed
            mbedRPC = connectedMbed;
            name    = "mbed_" + pin.PinName.ToLower();
            String[] Args      = { pin.PinName, name };
            string   parameter = mbedRPC.RPC("DigitalOut", "new", Args);

            Debug.Print("New DigitalOut initialized: " + parameter);
        }
        public Serial(SerialRPC connectedMbed, MbedPin TxPin, MbedPin RxPin)
        {
            //Create a new Serial on mbed
            mbedRPC = connectedMbed;
            name    = "serial_" + TxPin.PinName + RxPin.PinName;
            String[] Args      = { TxPin.PinName, RxPin.PinName, name };
            string   parameter = mbedRPC.RPC("Serial", "new", Args);

            Debug.Print("New Serial object initialized: " + parameter);
        }