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.
test.cpp@0:5449902c13e0, 2020-08-03 (annotated)
- Committer:
- Yoshiemon
- Date:
- Mon Aug 03 05:32:13 2020 +0000
- Revision:
- 0:5449902c13e0
aaaa
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Yoshiemon | 0:5449902c13e0 | 1 | #include "mbed.h" |
| Yoshiemon | 0:5449902c13e0 | 2 | |
| Yoshiemon | 0:5449902c13e0 | 3 | DigitalOut l(p21); |
| Yoshiemon | 0:5449902c13e0 | 4 | DigitalOut r(p22); |
| Yoshiemon | 0:5449902c13e0 | 5 | //DigitalOut en(p12); |
| Yoshiemon | 0:5449902c13e0 | 6 | |
| Yoshiemon | 0:5449902c13e0 | 7 | int main() { |
| Yoshiemon | 0:5449902c13e0 | 8 | //en = 1; |
| Yoshiemon | 0:5449902c13e0 | 9 | while(1) { |
| Yoshiemon | 0:5449902c13e0 | 10 | l = 1; |
| Yoshiemon | 0:5449902c13e0 | 11 | /*wait(20); |
| Yoshiemon | 0:5449902c13e0 | 12 | l = 0; |
| Yoshiemon | 0:5449902c13e0 | 13 | wait(2)*/ |
| Yoshiemon | 0:5449902c13e0 | 14 | } |
| Yoshiemon | 0:5449902c13e0 | 15 | } |