Horloge RTC

Dependencies:   ihm_L476_full RTC_IUT

Revision:
0:b4a900df72eb
Child:
1:1e5f482dad5b
diff -r 000000000000 -r b4a900df72eb main.cpp
--- /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);
+}
+