def METHOD_NAME(self, args):
    '''handle RC value override'''
    if len(args) > 0 and args[0] == 'set':
        self.rc_settings.command(args[1:])
        return
    if len(args) == 1 and args[0] == 'clear':
        channels = self.override
        for i in range(self.count):
            channels[i] = 0
        self.set_override(channels)
        return
    if len(args) != 2:
        print("Usage: rc <set|channel|all|clear> <pwmvalue>")
        return
    value = int(args[1])
    if value > 65535 or value < -1:
        raise ValueError("PWM value must be a positive integer between 0 and 65535")
    if value == -1:
        value = 65535
    channels = self.override
    if args[0] == 'all':
        for i in range(self.count):
            channels[i] = value
    else:
        channel = int(args[0])
        if channel < 1 or channel > self.count:
            print("Channel must be between 1 and %u or 'all'" % self.count)
            return
        channels[channel - 1] = value
    self.set_override(channels)