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.
maint.cpp@9:b9ac1d914762, 2017-09-05 (annotated)
- Committer:
- ThierryLeonard
- Date:
- Tue Sep 05 10:27:28 2017 +0000
- Revision:
- 9:b9ac1d914762
- Parent:
- 7:b1b4db3eedb4
Merged, working UART with accelerometer
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ThierryLeonard | 9:b9ac1d914762 | 1 | //#include "mbed.h" |
| ThierryLeonard | 9:b9ac1d914762 | 2 | //#include "Afficheur.h" |
| ThierryLeonard | 9:b9ac1d914762 | 3 | // |
| ThierryLeonard | 9:b9ac1d914762 | 4 | // |
| ThierryLeonard | 9:b9ac1d914762 | 5 | //Serial pc(USBTX, USBRX); // tx, rx |
| ThierryLeonard | 9:b9ac1d914762 | 6 | // |
| ThierryLeonard | 9:b9ac1d914762 | 7 | //Afficheur afficheur; |
| ThierryLeonard | 9:b9ac1d914762 | 8 | // |
| ThierryLeonard | 9:b9ac1d914762 | 9 | //int main() { |
| ThierryLeonard | 9:b9ac1d914762 | 10 | // while(1) |
| ThierryLeonard | 9:b9ac1d914762 | 11 | // { |
| ThierryLeonard | 9:b9ac1d914762 | 12 | // if(pc.readable()) |
| ThierryLeonard | 9:b9ac1d914762 | 13 | // { |
| ThierryLeonard | 9:b9ac1d914762 | 14 | // afficheur.write(pc.getc()); |
| ThierryLeonard | 9:b9ac1d914762 | 15 | // } |
| ThierryLeonard | 9:b9ac1d914762 | 16 | // |
| ThierryLeonard | 9:b9ac1d914762 | 17 | // } |
| ThierryLeonard | 9:b9ac1d914762 | 18 | // |
| ThierryLeonard | 9:b9ac1d914762 | 19 | //} |
