'Set stepper motor power (0-100%)'

def setPower(self, power):

    power = int((float(power) * 0.63))
    if ((power >= 0) and (power <= 63)):
        p = snap.Packet(self.address, snap.localAddress, 0, 1, [CMD_SETPOWER, int((power * 0.63))])
        p.send()
    else:
        raise RepRapError('Invalid    power    value')
