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.
main.cpp@0:9d5b8d0fb901, 2019-12-27 (annotated)
- Committer:
- OishiHinata
- Date:
- Fri Dec 27 02:58:06 2019 +0000
- Revision:
- 0:9d5b8d0fb901
- Child:
- 1:39ada37dfdbe
winter2019_B
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OishiHinata | 0:9d5b8d0fb901 | 1 | #include"mbed.h" |
OishiHinata | 0:9d5b8d0fb901 | 2 | #include"Control.h" |
OishiHinata | 0:9d5b8d0fb901 | 3 | |
OishiHinata | 0:9d5b8d0fb901 | 4 | class control ctrl; |
OishiHinata | 0:9d5b8d0fb901 | 5 | |
OishiHinata | 0:9d5b8d0fb901 | 6 | int main(void){ |
OishiHinata | 0:9d5b8d0fb901 | 7 | |
OishiHinata | 0:9d5b8d0fb901 | 8 | ctrl.setup(); |
OishiHinata | 0:9d5b8d0fb901 | 9 | |
OishiHinata | 0:9d5b8d0fb901 | 10 | while(1){ |
OishiHinata | 0:9d5b8d0fb901 | 11 | ctrl.run(); |
OishiHinata | 0:9d5b8d0fb901 | 12 | ctrl.s_time=0; |
OishiHinata | 0:9d5b8d0fb901 | 13 | } |
OishiHinata | 0:9d5b8d0fb901 | 14 | } |