libfidl.py
def unlock(self):
        """
            Sequence to unlock the door by using the servo motor
            You may edit the angles to adjust it your lock
        """
        self.unlocking = True
        #power servo on
        self._set_servo_power(True)
        #moving servo to unlocking position
        self._set_servo_angle(30)
        time.sleep(5)
        #moving the servo back to a resting postion
        self._set_servo_angle(72)
        #giving the servo enough time to move there before turning it off
        time.sleep(2)
        self._set_servo_power(False)
        self.unlocking = False

            Sequence to unlock the door by using the servo motor
            You may edit the angles to adjust it your lock
        
Sequence to unlock the door by using the servo motor
You may edit the angles to adjust it your lock
Sequence to unlock the door by using the servo motor You may edit the angles to adjust it your lock
def unlock(self):
        self.unlocking = True
        self._set_servo_power(True)
        self._set_servo_angle(30)
        time.sleep(5)
        self._set_servo_angle(72)
        time.sleep(2)
        self._set_servo_power(False)
        self.unlocking = False
def unlock ( self ) : self . unlocking = True self . _set_servo_power ( True ) self . _set_servo_angle ( 30 ) time . sleep ( 5 ) self . _set_servo_angle ( 72 ) time . sleep ( 2 ) self . _set_servo_power ( False ) self . unlocking = False
Sequence to unlock the door by using the servo motor
You may edit the angles to adjust it your lock
Sequence to unlock the door by using the servo motor You may edit the angles to adjust it your lock
"""
            Sequence to unlock the door by using the servo motor
            You may edit the angles to adjust it your lock
        """ #power servo on #moving servo to unlocking position #moving the servo back to a resting postion #giving the servo enough time to move there before turning it off
self