Ejemplo n.º 1
0
    public static bool sendSinglePulse(int channel_number, int pulse_width, int pulse_current)
    {
        if (channel_number == 0)
        {
            return(false);
        }

        byte[] command = SinglePulse.getCommand(channel_number, pulse_width, pulse_current);
        RehaStimInterface.sendMessage(command);

        return(true);
    }
    public static bool sendSinglePulse(Channels channel_number, int pulse_width, int pulse_current)
    {
        if (channel_number == Channels.ChannelNone)
        {
            return(false);
        }

        byte[] command = SinglePulse.getCommand((int)channel_number, pulse_width, pulse_current);
        RehaStimInterface.sendMessage(command);

        return(true);

        Debug.Log("single pulse more channel");
    }