Function/OTHER_FUN/other_fun.c
@@ -1,7 +1,7 @@ #include "other_fun.h" #include "gpio.h" #include "linked_list.h" #include "main.h" @@ -13,10 +13,11 @@ CMU_PERCLK_SetableEx(PADCLK, ENABLE); //PADʱÖÓ£¨GPIO£©Ê¹Äܺ¯Êý OutputIO(GPIOD,GPIO_Pin_8,OUT_PUSHPULL); LED_OFF; // OutputIO(GPIOC,GPIO_Pin_14,OUT_PUSHPULL); // LCD3_OFF ; } void led_Close(void) { CloseIO(GPIOD,GPIO_Pin_8); } @@ -87,6 +88,13 @@ //ϵͳÆäËûÁãɢС¹¦ÄÜ´¦Àí void OtherFunPro(void) { #ifdef LED_TEST led_init(); LED_TOG; #else led_Close(); #endif UncapCheck(); //¿ª¸Ç¼ì²â