steppermove:34: error: 'myMotor' does not name a type
myMotor->step(10,FORWARD,SINGLE);
^
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Using library Adafruit_Motor_Shield_V2_Library_master at version 1.0.5 in folder: C:***********************************
Using library Servo at version 1.1.2 in folder: C:\Program Files (x86)\Arduino\libraries\Servo
Using library AccelStepper in folder: C:***************************************
(legacy)
exit status 1
'myMotor' does not name a type