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@15:8fbbdefbe720, 2019-03-31 (annotated)
- Committer:
- el17cd
- Date:
- Sun Mar 31 14:56:55 2019 +0000
- Revision:
- 15:8fbbdefbe720
- Parent:
- 14:885915260e25
- Child:
- 18:8256546a3cbf
Created game class
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el17cd | 0:efb5eec6b8ea | 1 | /* |
| el17cd | 0:efb5eec6b8ea | 2 | ELEC2645 Embedded Systems Project |
| el17cd | 0:efb5eec6b8ea | 3 | School of Electronic & Electrical Engineering |
| el17cd | 0:efb5eec6b8ea | 4 | University of Leeds |
| el17cd | 0:efb5eec6b8ea | 5 | Name: Christopher Doel |
| el17cd | 0:efb5eec6b8ea | 6 | Username: el17cd |
| el17cd | 0:efb5eec6b8ea | 7 | Student ID Number: 201146223 |
| el17cd | 0:efb5eec6b8ea | 8 | Date: 22/02/19 |
| el17cd | 0:efb5eec6b8ea | 9 | */ |
| el17cd | 0:efb5eec6b8ea | 10 | |
| el17cd | 0:efb5eec6b8ea | 11 | #include "mbed.h" |
| el17cd | 15:8fbbdefbe720 | 12 | #include "Game.h" |
| el17cd | 3:2e31dfcb712a | 13 | |
| el17cd | 15:8fbbdefbe720 | 14 | Serial pc(USBTX, USBRX); // tx, rx |
| el17cd | 8:a667bc5050c1 | 15 | |
| el17cd | 0:efb5eec6b8ea | 16 | int main() |
| el17cd | 0:efb5eec6b8ea | 17 | { |
| el17cd | 15:8fbbdefbe720 | 18 | pc.printf("Hello World!\n"); |
| el17cd | 15:8fbbdefbe720 | 19 | Game game; |
| el17cd | 15:8fbbdefbe720 | 20 | game.run(); |
| el17cd | 8:a667bc5050c1 | 21 | } |