Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 22:eadcb3d8fec0, committed 2019-05-09
- 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 */