Page 517 - 2
P. 517

for(i=0;i<4;i++)
                    {
                        step = ccw2[i];
                        delay_ms(2);
                    }
                }
            }


            void motor1() //  통1
            {
                state_all = 0;
                state_x = 0;
            }


            void motor2() // 통2
            {
                state_all = 0;
                state_x = 1;
            }


            void motor3() // 통3
            {
                state_all = 0;
                state_x = 2;
            }


            void motor4() // 통4
            {
                state_all = 0;
                state_y = 0;
            }


            void motor5() // 통5
            {
                state_all = 1;
                state_x = 0;
            }


            void motor6() // 통6
            {
                state_all = 1;
                state_x = 1;
            }


            void motor7() // 통7


                                                         - 517 -
   512   513   514   515   516   517   518   519   520   521   522