123456789101112131415161718192021222324252627282930313233343536373839 |
-
-
- #include "DriverJeuLaser.h"
-
- //short int = 16 bit signé
- //char = 8 bit non signé (0 à 255)
- extern int DFT_ModuleAuCarre(short int*, char);
-
- extern short int LeSignal;
-
- int res[64];
-
- int main(void)
- {
-
- // ===========================================================================
- // ============= INIT PERIPH (faites qu'une seule fois) =====================
- // ===========================================================================
-
- // Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
- CLOCK_Configure();
-
- char k;
-
-
-
- for(k=0;k<64;k++){
- res[k] = DFT_ModuleAuCarre(&LeSignal, k);
- }
-
-
- //============================================================================
-
-
- while (1)
- {
- }
- }
-
|