[AJOUT] premier commit + ajout des fonctions init_Timer_RoueGauche et init_Timer_RoueDroite prochaine étape controle du capteur Ultrasons

This commit is contained in:
2026-05-31 11:47:48 +02:00
parent 319a81a969
commit 6b58baf717
49 changed files with 73518 additions and 1 deletions

33
Code/Src/main.c Normal file
View File

@@ -0,0 +1,33 @@
/**
******************************************************************************
* @file : main.c
* @author : Auto-generated by STM32CubeIDE
* @brief : Main program body
******************************************************************************
* @attention
*
* Copyright (c) 2026 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
#include <stdint.h>
#include <config.h>
#if !defined(__SOFT_FP__) && defined(__ARM_FP)
#warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use."
#endif
int main(void)
{
motor_init();
init_Timer_RoueDroit(AVANCE, 0);
init_Timer_RoueGauche(AVANCE, 0);
/* Loop forever */
for(;;);
}