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
Engine/Engine.h@1:928632432ea4, 2019-03-12 (annotated)
- Committer:
- el17ajf
- Date:
- Tue Mar 12 09:32:51 2019 +0000
- Revision:
- 1:928632432ea4
- Child:
- 2:0b5e289ef905
Added Engine class;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| el17ajf | 1:928632432ea4 | 1 | #ifndef ENGINE_H |
| el17ajf | 1:928632432ea4 | 2 | #define ENGINE_H |
| el17ajf | 1:928632432ea4 | 3 | |
| el17ajf | 1:928632432ea4 | 4 | class Engine { |
| el17ajf | 1:928632432ea4 | 5 | private: |
| el17ajf | 1:928632432ea4 | 6 | public: |
| el17ajf | 1:928632432ea4 | 7 | /* Constructor */ |
| el17ajf | 1:928632432ea4 | 8 | Engine(); |
| el17ajf | 1:928632432ea4 | 9 | |
| el17ajf | 1:928632432ea4 | 10 | /* Destructor */ |
| el17ajf | 1:928632432ea4 | 11 | ~Engine(); |
| el17ajf | 1:928632432ea4 | 12 | |
| el17ajf | 1:928632432ea4 | 13 | void start(); |
| el17ajf | 1:928632432ea4 | 14 | |
| el17ajf | 1:928632432ea4 | 15 | void loop(); |
| el17ajf | 1:928632432ea4 | 16 | |
| el17ajf | 1:928632432ea4 | 17 | void stop(); |
| el17ajf | 1:928632432ea4 | 18 | }; |
| el17ajf | 1:928632432ea4 | 19 | |
| el17ajf | 1:928632432ea4 | 20 | #endif |
