Dependents:   Nucleo_F411RE_OS_Robot_Tank

Files at this revision

API Documentation at this revision

Comitter:
adaphoto
Date:
Tue Jun 19 12:24:06 2018 +0000
Parent:
1:6cb3a93ae325
Commit message:
??????

Changed in this revision

LED.h Show annotated file Show diff for this revision Revisions of this file
diff -r 6cb3a93ae325 -r 94318e6e89ff LED.h
--- a/LED.h	Mon Jun 18 08:57:16 2018 +0000
+++ b/LED.h	Tue Jun 19 12:24:06 2018 +0000
@@ -24,15 +24,19 @@
     public:
     LED(PinName ledpin);
     
+    // LED亮起控制函数,IO口输出高电平
     void LED_On();
     
+    // LED关闭控制函数,IO口输出低电平
     void LED_Off();
     
+    // LED闪烁控制函数,每次调用该函数,则IO口翻转一次状态
     void LED_Troggle();
     
     private:
     DigitalOut led;
-    /** Initialization. */
+    
+    // 初始化函数
     void init();
 };