Traitement-signal-plantes/Code-C/main.c
2022-06-10 15:50:27 +02:00

27 lines
584 B
C

#include <pthread.h>
#include <stdbool.h>
#include "simulateFlux.h"
#include "power.h"
#include "initialParameters.h"
#include "queue.h"
bool rawDataWriteFlag = 0, stopFlag = 0;
int nRow = 100000;
int nCol = 9;
double freqEch = 250;
Pqueue firstRawDataQueue = NULL;
int selectionCaptors[] = {1,2,3,4,5,6,7,8};
int sizeSelectionArray = 8;
int main(int argc , char** argv){
double period = 1 / freqEch;
double invTimeBandWidth = 1 /(nRow * period);
pthread_t rawData;
pthread_create(&rawData , NULL, simulateFlux, (void *)&rawData);
pthread_exit(NULL);
}