from adafruit_servokit import ServoKit
import time
kit=ServoKit(channels=16 , address=0x40)
kit1=ServoKit(channels=16 , address=0x41)
rf0=kit1.servo[0]
rf1=kit1.servo[1]
rf2=kit1.servo[2]
rm0=kit.servo[8]
rm1=kit.servo[9]
rm2=kit.servo[10]
rr0=kit.servo[4]
rr1=kit.servo[5]
rr2=kit.servo[6]

lf0=kit1.servo[8]
lf1=kit1.servo[9]
lf2=kit1.servo[10]
lm0=kit1.servo[12]
lm1=kit1.servo[13]
lm2=kit1.servo[14]
lr0=kit.servo[0]
lr1=kit.servo[1]
lr2=kit.servo[2]

rf1.angle=100
time.sleep(1)
lm1.angle=80
time.sleep(1)
rr1.angle=100
time.sleep(3)

lf1.angle=80
time.sleep(1)
rm1.angle=100
time.sleep(1)
lr1.angle=80

rf2.angle=100
time.sleep(1)
lm2.angle=80
time.sleep(1)
rr2.angle=100
time.sleep(1)


lf2.angle=80
time.sleep(1)
rm2.angle=100
time.sleep(1)
lr2.angle=80
time.sleep(1)

rf0.angle=90
rm0.angle=90
rr0.angle=90
lf0.angle=90
lm0.angle=90
lr0.angle=90
