Projet3i4

main.cpp

Committer:
fabienlepoutre
Date:
2012-04-24
Revision:
2:e253b64effa0
Parent:
1:bb98d7d1e25f

File content as of revision 2:e253b64effa0:

#include "mbed.h"
#include "LibTest.h"
#include "ComSPI.h"
#include "AnalogTest.h"

int main() {
    int choix = 0;
    while(choix!=5){
        choix =i_IntroTest();
        switch(choix){
            case ANALOG_IN_OUT :    v_TestCAN_CNA();
                                    break;
            case SPI:               v_TestComSPI();
                                    break;
            case I2C:               
            
            case COMPLET:           v_TestPortsRampe();
                                    v_TestComSPI();
                                    
            default :               break;
        
        }
     }
}