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: ihm_L476_full RTC_IUT
Diff: main.cpp
- Revision:
- 0:b4a900df72eb
- Child:
- 1:1e5f482dad5b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue May 19 18:08:29 2020 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+Timer temps;
+Serial pc(SERIAL_TX, SERIAL_RX,9600);
+int main()
+{
+ unsigned int t0,t1;
+ temps.start();
+ t0=temps.read_us();
+ pc.printf("Hello World\r\n");
+ t1=temps.read_us();
+ pc.printf("duree mesuree : %d\r\n",t1-t0);
+ while(1);
+}
+