Page 188 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 188

if(a==1)                        //if Project set night

                                    Scan_Cds(Cdsstat);

                                    //Follow Light
                                    FL(RData[0]);
                    }

            }



            /**
              * @brief  Inserts a delay time.

              * @param nTime: specifies the delay time length, in milliseconds.

              * @retval : None
              */
            void Delay(__IO uint32_t nTime)

            {

              TimingDelay = nTime;


              while(TimingDelay != 0);

            }



            /**
              * @brief  Decrements the TimingDelay variable.

              * @param  None

              * @retval : None
              */
            void TimingDelay_Decrement(void)

            {

              if (TimingDelay != 0x00)
              {
                TimingDelay--;

              }

            }


            #ifdef  USE_FULL_ASSERT




                                                         -  181  -
   183   184   185   186   187   188   189   190   191   192   193