Page 169 - MDP2022-2
P. 169

제  4  장  소프트웨어  설계

                1.  코드

            가)  ARM
            개발언어:  C언어


            /*  USER  CODE  BEGIN  Header  */
            /**
              ******************************************************************************
              *  @file                      :  main.c
              *  @brief                    :  Main  program  body
              ******************************************************************************
              *  @attention
              *
              *  Copyright  (c)  2022  STMicroelectronics.
              *  All  rights  reserved.
              *
              *  This  software  is  licensed  under  terms  that  can  be  found  in  the  LICENSE  file
              *  in  the  root  directory  of  this  software  component.
              *  If  no  LICENSE  file  comes  with  this  software,  it  is  provided  AS-IS.
              *
              ******************************************************************************
              */
            /*  USER  CODE  END  Header  */
            /*  Includes  ------------------------------------------------------------------*/
            #include  "main.h"


            /*  Private  includes  ----------------------------------------------------------*/
            /*  USER  CODE  BEGIN  Includes  */
            #include  "ESP8266.h"
            #include  "ESP8266Config.h"
            #include  "dwt_stm32_delay.h"
            #include  "ws2812b.h"
            #include  "math.h"
            /*  USER  CODE  END  Includes  */


            /*  Private  typedef  -----------------------------------------------------------*/
            /*  USER  CODE  BEGIN  PTD  */


            /*  USER  CODE  END  PTD  */


            /*  Private  define  ------------------------------------------------------------*/
            /*  USER  CODE  BEGIN  PD  */
            #define  MAX_LED  60
            #define  MAX_LED2  85
   164   165   166   167   168   169   170   171   172   173   174