Update 'soft/PjtKEIL_StepDFT/Src/principal.c'
This commit is contained in:
parent
31453fac05
commit
1d39dbec8b
1 changed files with 8 additions and 4 deletions
|
@ -1,17 +1,18 @@
|
||||||
|
|
||||||
|
|
||||||
#include "DriverJeuLaser.h"
|
#include "DriverJeuLaser.h"
|
||||||
|
#include "module_carre.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern short LeSignal;
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{ int real_number_test = 0;
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// ============= INIT PERIPH (faites qu'une seule fois) =====================
|
// ============= INIT PERIPH (faites qu'une seule fois) =====================
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
// Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
|
// Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
|
||||||
CLOCK_Configure();
|
CLOCK_Configure();
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,6 +21,9 @@ CLOCK_Configure();
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
|
for (int k= 0; k < 64; ++k) {
|
||||||
|
real_number_test = DFT_ModuleAuCarre(&LeSignal, k);
|
||||||
|
}
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue