ELEC2645 (2018/19) / Mbed 2 deprecated el17mtu_

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
el17mtu
Date:
Thu May 09 04:45:21 2019 +0000
Parent:
21:61583c8d7b7a
Commit message:
Final Submission. I have read and agreed with Statement of Academic Integrity.

Changed in this revision

ModeA/ModeA.h Show annotated file Show diff for this revision Revisions of this file
ModeB/ModeB.h Show annotated file Show diff for this revision Revisions of this file
--- a/ModeA/ModeA.h	Thu May 09 04:32:41 2019 +0000
+++ b/ModeA/ModeA.h	Thu May 09 04:45:21 2019 +0000
@@ -34,8 +34,8 @@
        * @param bar_width @details width of the bar
        * @param bar_speed @details speed of the bar
        * @param score @details score
-       * @param size_top @details random legth
-       * @param size_bottom @details random legth
+       * @param size_top @details random length
+       * @param size_bottom @details random length
        */
     void initialise(N5110 &lcd);
 
@@ -142,7 +142,7 @@
     */
     void Game(N5110 &lcd);
 
-//variables that are privatly defined 
+//variables that are privatly defined
 private:
     int x_position;
     int y_position;
--- a/ModeB/ModeB.h	Thu May 09 04:32:41 2019 +0000
+++ b/ModeB/ModeB.h	Thu May 09 04:45:21 2019 +0000
@@ -37,10 +37,11 @@
     */
     void draw(N5110 &lcd);
     /**
-    * @brief Clears the screen
+    * @brief Refreshes and draws instructions on lcd
     @code
+    void ModeB::screen(N5110 &lcd)
     {
-    lcd.clear();
+    lcd.clear(); //clear screen
     };
     @endcode
     */