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

2.  소프트웨어




            가.  STM32F103xx





            #include "stm32f10x.h"
            #include "stm32f10x_conf.h"

            #include "USART.h"


            /*LCD를  사용하기위한  RS와  EN을  정의해놓은  것이다.*/
            #define RS GPIO_Pin_8 // RS is named as Port 13
            #define EN GPIO_Pin_9 // EN is named as Port 15



            /*함수들을  미리  선언한  것이다.*/
            void Init_All_Periph();
            void NVIC_Configuration();
            void RCC_Configuration();

            void USART1_Configuration();
            void GPIO_Configuration();
            void init_Timer2();


            void MSA();
            void MSB();

            void MSC();
            void MS();
            void MA(int direction);
            void MB(int direction);

            void MC(int direction);
            void TURN_R();
            void TURN_L();


            /*지연  함수이다.*/
            void delay_us(vu32 del) {//Delay

                    for(;del != 0 ; del--);
            }


            /*LCD관련  함수*/



                                                         -  963  -
   965   966   967   968   969   970   971   972   973   974   975