Junwei Zang / Mbed 2 deprecated Embedded_Systems_Project

Dependencies:   mbed

Revision:
1:ff57945c704c
Parent:
0:411f355688a5
--- a/main.cpp	Thu May 07 11:26:58 2015 +0000
+++ b/main.cpp	Thu May 07 14:46:11 2015 +0000
@@ -1,13 +1,20 @@
+/**
+@file main.cpp
+@brief program implementation
+@author Zang,Junwei
+@date May 2015
+*/
+
 #include "mbed.h"
 #include "N5110.h"
 #include "beep.h"
 
 using namespace mbed;
- // constructor
- /** Create a Beep object connected to the specified PwmOut pin
-  *
-  * @param pin PwmOut pin to connect to 
-  */
+// constructor
+/** Create a Beep object connected to the specified PwmOut pin
+ *
+ * @param pin PwmOut pin to connect to 
+ */
 
 BusOut leds(LED1,LED2,LED3,LED4);
 BusOut myled(p24);
@@ -19,9 +26,9 @@
     _pwm.write(0.0);     // after creating it have to be off
 }
  
- /** stop the beep instantaneous 
-  * usually not used 
-  */
+/** stop the beep instantaneous 
+ * usually not used 
+ */
 void Beep::nobeep() {
     _pwm.write(0.0);
 }
@@ -492,7 +499,13 @@
     }
  
 }
- 
+/**
+@param 1 - x coordinate
+@param 2 - y coordinate
+@param 3 - width of the rectangle
+@param 4 - height of the rectangle
+@param 5 - fill of line
+*/
 void N5110::drawRect(int x0,int y0,int width,int height,int fill)
 {