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.
Revision 0:693ffe0e7bb9, committed 2019-02-12
- Comitter:
- stersky
- Date:
- Tue Feb 12 14:45:30 2019 +0000
- Commit message:
- ok
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 693ffe0e7bb9 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Feb 12 14:45:30 2019 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+Serial centrale(p9, p10);
+
+int main() {
+ double niveau = 1;
+ centrale.baud(9600);
+
+ while(1) {
+ centrale.printf("$%3lf*\n\r",niveau);
+ niveau = -1.5*niveau;
+ if(niveau>10000) niveau = 1;
+ wait(0.5);
+ }
+}
diff -r 000000000000 -r 693ffe0e7bb9 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Feb 12 14:45:30 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc \ No newline at end of file