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
Diff: Cricket/Cricket.cpp
- Revision:
- 25:ead0e7bd1569
- Parent:
- 24:23fd6b451db7
- Child:
- 26:6427f09cf8d3
--- a/Cricket/Cricket.cpp Wed May 01 08:46:44 2019 +0000 +++ b/Cricket/Cricket.cpp Wed May 01 09:08:03 2019 +0000 @@ -69,8 +69,10 @@ new_game=0; } if (new_round==1){ - if (game_status(lcd)==false) + if (game_status(lcd)==false){ game_reset(); + ux.second_menu(lcd); + } else{ check_ball_count(lcd); pad.leds_off(); @@ -210,6 +212,7 @@ new_game=1; wait(2); pad.leds_off(); + ux.second_menu(lcd); } void Cricket::draw(N5110 &lcd){ lcd.drawCircle((WIDTH/2),HEIGHT/2,23,FILL_TRANSPARENT);