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
main.cpp@1:9835d6304284, 2019-02-27 (annotated)
- Committer:
- ikenna1
- Date:
- Wed Feb 27 05:40:31 2019 +0000
- Revision:
- 1:9835d6304284
- Parent:
- 0:0d446aab48a6
- Child:
- 2:66a4e5d7a7cd
Have started working on making menus for the game;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ikenna1 | 0:0d446aab48a6 | 1 | /* |
ikenna1 | 0:0d446aab48a6 | 2 | ELEC2645 Embedded Systems Project |
ikenna1 | 0:0d446aab48a6 | 3 | School of Electronic & Electrical Engineering |
ikenna1 | 0:0d446aab48a6 | 4 | University of Leeds |
ikenna1 | 0:0d446aab48a6 | 5 | Name: Ikenna Adrian Ozoemena |
ikenna1 | 0:0d446aab48a6 | 6 | Username: el17aio |
ikenna1 | 0:0d446aab48a6 | 7 | Student ID Number: 201157039 |
ikenna1 | 0:0d446aab48a6 | 8 | Date: 20/02/2019 |
ikenna1 | 1:9835d6304284 | 9 | */ |
ikenna1 | 1:9835d6304284 | 10 | |
ikenna1 | 1:9835d6304284 | 11 | DigitalIn a_button(PTB9); |
ikenna1 | 1:9835d6304284 | 12 | DigitalIn b_button(PTD0); |
ikenna1 | 1:9835d6304284 | 13 | DigitalIn x_button(PTC17); |
ikenna1 | 1:9835d6304284 | 14 | DigitalIn y_button(PTC12); |
ikenna1 | 1:9835d6304284 | 15 | DigitalIn l_button(PTB18); |
ikenna1 | 1:9835d6304284 | 16 | DigitalIn r_button(PTB3); |
ikenna1 | 1:9835d6304284 | 17 | DigitalIn back_button(PTB19); |
ikenna1 | 1:9835d6304284 | 18 | DigitalIn start_button(PTC5); |
ikenna1 | 1:9835d6304284 | 19 | |
ikenna1 | 1:9835d6304284 | 20 | N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); |
ikenna1 | 1:9835d6304284 | 21 | BusOut leds; |
ikenna1 | 1:9835d6304284 | 22 | |
ikenna1 | 1:9835d6304284 | 23 | AnalogIn pot; |
ikenna1 | 1:9835d6304284 | 24 | |
ikenna1 | 1:9835d6304284 | 25 | Tone dac; |
ikenna1 | 1:9835d6304284 | 26 | ShiftReg shift; |
ikenna1 | 1:9835d6304284 | 27 | |
ikenna1 | 1:9835d6304284 | 28 | // function prototypes |
ikenna1 | 1:9835d6304284 | 29 | init(); |
ikenna1 | 1:9835d6304284 | 30 | print_menu(); |
ikenna1 | 1:9835d6304284 | 31 | welcome(); |