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 C12832 mbed-rtos
Revision 2:7309680cbb76, committed 2022-04-10
- Comitter:
- spearson93
- Date:
- Sun Apr 10 12:50:40 2022 +0000
- Parent:
- 1:617a3879630b
- Commit message:
- Rev2 for Draw added
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Apr 09 10:54:41 2022 +0000
+++ b/main.cpp Sun Apr 10 12:50:40 2022 +0000
@@ -59,6 +59,10 @@
{
lcd.printf("Player 2 Wins!\n");
}
+ if (T1 == T2)
+ {
+ lcd.printf("Game was a Draw, Try Again\n");
+ }
mtx.unlock();
}