Fabien Lepoutre
/
Prog_Projet
Projet3i4
LibTest.cpp@2:e253b64effa0, 2012-04-24 (annotated)
- Committer:
- fabienlepoutre
- Date:
- Tue Apr 24 15:01:11 2012 +0000
- Revision:
- 2:e253b64effa0
- Parent:
- 1:bb98d7d1e25f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fabienlepoutre | 0:f0c9c47e4edd | 1 | #include "LibTest.h" |
fabienlepoutre | 0:f0c9c47e4edd | 2 | |
fabienlepoutre | 0:f0c9c47e4edd | 3 | |
fabienlepoutre | 0:f0c9c47e4edd | 4 | |
fabienlepoutre | 0:f0c9c47e4edd | 5 | |
fabienlepoutre | 0:f0c9c47e4edd | 6 | int i_IntroTest(){ |
fabienlepoutre | 0:f0c9c47e4edd | 7 | int choix; |
fabienlepoutre | 1:bb98d7d1e25f | 8 | printf("\r\n Programme de test \r"); |
fabienlepoutre | 0:f0c9c47e4edd | 9 | |
fabienlepoutre | 1:bb98d7d1e25f | 10 | printf("Selectionner le test a effectuer: \n\r"); |
fabienlepoutre | 1:bb98d7d1e25f | 11 | printf("1. CAN / CNA \n\r"); |
fabienlepoutre | 1:bb98d7d1e25f | 12 | printf("2. Connexion SPI \n\r"); |
fabienlepoutre | 1:bb98d7d1e25f | 13 | printf("4. Test Complet\r\n"); |
fabienlepoutre | 1:bb98d7d1e25f | 14 | printf("5. Quitter \r\n"); |
fabienlepoutre | 1:bb98d7d1e25f | 15 | printf("Choix : "); |
fabienlepoutre | 1:bb98d7d1e25f | 16 | scanf("%d", &choix); |
fabienlepoutre | 0:f0c9c47e4edd | 17 | return choix; |
fabienlepoutre | 0:f0c9c47e4edd | 18 | } |
fabienlepoutre | 0:f0c9c47e4edd | 19 | |
fabienlepoutre | 0:f0c9c47e4edd | 20 |