Pour Marc la mignonne

Dependencies:   BSP_DISCO_F429ZI LCD_DISCO_F429ZI TS_DISCO_F429ZI mbed

Revision:
0:fcce18d01987
diff -r 000000000000 -r fcce18d01987 fonctions.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fonctions.cpp	Thu May 31 06:11:25 2018 +0000
@@ -0,0 +1,27 @@
+#include "fonctions.h"
+
+DigitalOut ledjaune(LED1);
+DigitalOut ledrouge(LED2);
+
+void erreur(){
+    
+            while(1){
+            
+            ledjaune=1;
+            ledrouge=0;
+            wait(0.2);
+            ledrouge=1;
+            wait(0.2);
+            
+            ledjaune=0;
+            wait(0.1);
+            ledrouge=0;
+            wait(0.1);
+            ledrouge=1;
+            wait(0.1);
+            ledjaune=1;
+            wait(0.2);
+            ledrouge=0;
+            ledjaune=0;
+            
+            }}
\ No newline at end of file