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
Fork of el17ajf by
main.cpp@1:928632432ea4, 2019-03-12 (annotated)
- Committer:
- el17ajf
- Date:
- Tue Mar 12 09:32:51 2019 +0000
- Revision:
- 1:928632432ea4
- Parent:
- 0:dbbfdb8d8808
- Child:
- 2:0b5e289ef905
Added Engine class;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el17ajf | 0:dbbfdb8d8808 | 1 | /* |
el17ajf | 0:dbbfdb8d8808 | 2 | ELEC2645 Embedded Systems Project |
el17ajf | 0:dbbfdb8d8808 | 3 | School of Electronic & Electrical Engineering University of Leeds |
el17ajf | 0:dbbfdb8d8808 | 4 | Name: Angus J Findlay |
el17ajf | 0:dbbfdb8d8808 | 5 | Username: el17ajf |
el17ajf | 0:dbbfdb8d8808 | 6 | Student ID Number: 201198820 Date: 5/3/2019 |
el17ajf | 0:dbbfdb8d8808 | 7 | */ |
el17ajf | 1:928632432ea4 | 8 | #include "engine.h" |
el17ajf | 0:dbbfdb8d8808 | 9 | |
el17ajf | 0:dbbfdb8d8808 | 10 | int main() { |
el17ajf | 1:928632432ea4 | 11 | Engine engine; |
el17ajf | 1:928632432ea4 | 12 | engine.start(); |
el17ajf | 1:928632432ea4 | 13 | engine.loop(); |
el17ajf | 1:928632432ea4 | 14 | engine.stop(); |
el17ajf | 1:928632432ea4 | 15 | return 0; |
el17ajf | 0:dbbfdb8d8808 | 16 | } |