Projet3i4

Committer:
fabienlepoutre
Date:
Mon Apr 23 14:40:40 2012 +0000
Revision:
0:f0c9c47e4edd
Child:
1:bb98d7d1e25f

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fabienlepoutre 0:f0c9c47e4edd 1 #include "mbed.h"
fabienlepoutre 0:f0c9c47e4edd 2 #include "LibTest.h"
fabienlepoutre 0:f0c9c47e4edd 3 #include "ComSPI.h"
fabienlepoutre 0:f0c9c47e4edd 4 #include "AnalogTest.h"
fabienlepoutre 0:f0c9c47e4edd 5 DigitalOut myled(LED1);
fabienlepoutre 0:f0c9c47e4edd 6
fabienlepoutre 0:f0c9c47e4edd 7 int main() {
fabienlepoutre 0:f0c9c47e4edd 8 int choix = i_IntroTest();
fabienlepoutre 0:f0c9c47e4edd 9 switch(choix){
fabienlepoutre 0:f0c9c47e4edd 10 case ANALOG_IN_OUT : v_TestCAN_CNA();
fabienlepoutre 0:f0c9c47e4edd 11 break;
fabienlepoutre 0:f0c9c47e4edd 12 case SPI: v_TestComSPI();
fabienlepoutre 0:f0c9c47e4edd 13 break;
fabienlepoutre 0:f0c9c47e4edd 14 case I2C:
fabienlepoutre 0:f0c9c47e4edd 15
fabienlepoutre 0:f0c9c47e4edd 16 default : break;
fabienlepoutre 0:f0c9c47e4edd 17
fabienlepoutre 0:f0c9c47e4edd 18 }
fabienlepoutre 0:f0c9c47e4edd 19
fabienlepoutre 0:f0c9c47e4edd 20 }