ELEC2645 (2015/16) / Mbed 2 deprecated el14jpps_2645_Ping_Pong_Project

Dependencies:   N5110 Ping_Pong beep mbed Servo

Revision:
5:722864843189
Parent:
0:bf56ee79c09e
Child:
9:80898ce9d4d5
--- a/menu_funtions/menu.h	Thu May 05 11:41:55 2016 +0000
+++ b/menu_funtions/menu.h	Thu May 05 11:56:13 2016 +0000
@@ -1,6 +1,7 @@
 /**
 @file menu.h
 @brief Header file containing funtions used for my menu .
+@code The library N5110 belongs to Dr Evans 
 
 */
 #include "N5110.h"
@@ -46,38 +47,38 @@
 
 
 
-// the following funtions are to make different buzzer increase in size to make it look like a explosion.
+/** the following funtions are to make different buzzer increase in size to make it look like a explosion.*/
     lcd1.drawCircle(WIDTH/2,HEIGHT/2,8,1);  // x,y,radius,black fill.
     buzzer.beep(500,0.5);
-    lcd1.drawCircle(WIDTH/2,HEIGHT/2,10,2);  // x,y,radius,white fill.
+    lcd1.drawCircle(WIDTH/2,HEIGHT/2,10,2);  /** x,y,radius,white fill.*/
     wait(0.020);
     buzzer.beep(600,0.2);
-    lcd1.drawCircle(WIDTH/2,HEIGHT/2,15,1);  // x,y,radius,transparent with outline.
+    lcd1.drawCircle(WIDTH/2,HEIGHT/2,15,1);  /** x,y,radius,transparent with outline.*/
     wait(0.030);
     buzzer.beep(700,0.2);
     lcd1.drawCircle(WIDTH/2,HEIGHT/2,20,0);
     wait(0.020);
     buzzer.beep(800,0.2);
-    lcd1.drawCircle(WIDTH/2,HEIGHT/2,25,1);  // x,y,radius,white fill.
+    lcd1.drawCircle(WIDTH/2,HEIGHT/2,25,1);  /** x,y,radius,white fill.*/
     wait(0.030);
     buzzer.beep(900,0.2);
-    lcd1.drawCircle(WIDTH/2,HEIGHT/2,30,1);  // x,y,radius,transparent with outline.
+    lcd1.drawCircle(WIDTH/2,HEIGHT/2,30,1);  /** x,y,radius,transparent with outline.*/
     wait(0.020);
     buzzer.beep(1000,0.2);
     lcd1.drawCircle(WIDTH/2,HEIGHT/2,35,2);
     wait(0.030);
     buzzer.beep(1200,0.2);
-    lcd1.drawCircle(WIDTH/2,HEIGHT/2,40,1);  // x,y,radius,white fill.
+    lcd1.drawCircle(WIDTH/2,HEIGHT/2,40,1);  /** x,y,radius,white fill.*/
     wait(0.020);
     buzzer.beep(1300,0.2);
-    lcd1.drawCircle(WIDTH/2,HEIGHT/2,45,0);  // x,y,radius,transparent with outline.
+    lcd1.drawCircle(WIDTH/2,HEIGHT/2,45,0);  /** x,y,radius,transparent with outline.*/
     wait(0.030);
     buzzer.beep(1400,0.2);
     lcd1.drawCircle(WIDTH/2,HEIGHT/2,50,2);
     wait(0.020);
     buzzer.beep(1500,0.2);
 
-    lcd1.refresh();   // need to refresh screen after drawing buzzer.
+    lcd1.refresh();   /** need to refresh screen after drawing buzzer.*/
     lcd1.clear();
 
 }