mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2024-09-29 00:33:04 +02:00
30 lines
415 B
C
30 lines
415 B
C
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <pthread.h>
|
||
|
#include <unistd.h> // sleep
|
||
|
|
||
|
#include "CF.h"
|
||
|
#include "position.h"
|
||
|
|
||
|
#define TEMPSMAX 10
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
|
||
|
printf("Démarrage...\n");
|
||
|
configureCF();
|
||
|
configurePosition();
|
||
|
srand(time(NULL));
|
||
|
|
||
|
printf("C'est parti !\n");
|
||
|
|
||
|
sleep(TEMPSMAX);
|
||
|
|
||
|
printf("Fin des %d secondes\n", TEMPSMAX);
|
||
|
|
||
|
|
||
|
deconfigureCF();
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|
||
|
|