Pour Marc la mignonne

Dependencies:   BSP_DISCO_F429ZI LCD_DISCO_F429ZI TS_DISCO_F429ZI mbed

fonctions.cpp

Committer:
Alex_mln
Date:
2018-05-31
Revision:
0:fcce18d01987

File content as of revision 0:fcce18d01987:

#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;
            
            }}