Page 368 - MDP2022-2
P. 368

//dir  D13  12  11    //step  E12  14  15    //con  F3  15  11  E0  e10  //  G5  6  ?    ?      ?
            /*  USER  CODE  END  PD  */


            /*  Private  macro  -------------------------------------------------------------*/
            /*  USER  CODE  BEGIN  PM  */


            /*  USER  CODE  END  PM  */


            /*  Private  variables  ---------------------------------------------------------*/
            TIM_HandleTypeDef  htim2;


            /*  USER  CODE  BEGIN  PV  */


            /*  USER  CODE  END  PV  */


            /*  Private  function  prototypes  -----------------------------------------------*/
            void  SystemClock_Config(void);
            static  void  MX_GPIO_Init(void);
            static  void  MX_TIM2_Init(void);
            /*  USER  CODE  BEGIN  PFP  */


            /*  USER  CODE  END  PFP  */


            /*  Private  user  code  ---------------------------------------------------------*/
            /*  USER  CODE  BEGIN  0  */
            void  delay_us(int  num);


            int  status1  =  0;
            int  status2  =  0;
            int  status3  =  0;
            int  status4  =  0;
            int  count  =  0;
            /*  USER  CODE  END  0  */


            /**
                *  @brief    The  application  entry  point.
                *  @retval  int
                */
            int  main(void)
            {
                /*  USER  CODE  BEGIN  1  */
                  int  width  =  0;
                  int  height  =  0;
                /*  USER  CODE  END  1  */
   363   364   365   366   367   368   369   370   371   372   373