Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
22:028f1627c262
Parent:
14:9cfe0041cc4e
Child:
33:e7635c8a58a8
diff -r 60f01b17b0a6 -r 028f1627c262 Startup/startup.h
--- a/Startup/startup.h	Sat May 23 14:40:40 2020 +0000
+++ b/Startup/startup.h	Sat May 23 16:12:52 2020 +0000
@@ -11,6 +11,7 @@
  * @brief: manages startup and initialisation
  * @date May 2020
 */
+//Global Variables
 volatile extern uint16_t sin_wavtable[1024];
 volatile extern uint16_t tri_wavtable[1024];
 volatile extern uint16_t pulse_wavtable[1024];
@@ -18,19 +19,24 @@
 class startup
 {
 public:
-    //vaiables
-    float fl;
+    //variables
+    float fl; //frequency Variable
 
     //methods
-    //constructor
+    /** Constructor */
     startup();
 
-    //destructior
+    /** Destructior */
     ~startup();
 
+    /** intitialsie function.
+    * @Initialises all main gmaepad components.
+    * @Also Generates Preliminary LUTs
+    */
     void initialise(N5110 &lcd, Gamepad &pad);
 
-private:
+private://----------------------------------------------------------------------
+
 };
 
 #endif
\ No newline at end of file