ajout uart.h
This commit is contained in:
parent
d3781bbe3f
commit
cb112ab21f
4 changed files with 14 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "Accelerometre.h"
|
||||
#include "Girouette.h"
|
||||
#include "Servo.h"
|
||||
#include "MyUart.h"
|
||||
#include "I2C.h"
|
||||
#include "RTC.h"
|
||||
|
||||
|
|
|
|||
8
Pilotes/Include/MyUart.h
Normal file
8
Pilotes/Include/MyUart.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include "stm32f10x.h"
|
||||
|
||||
|
||||
void My_USART_Config(USART_TypeDef* , uint32_t );
|
||||
void USART_Send_Char(USART_TypeDef* , char );
|
||||
void USART_Send_String(USART_TypeDef*, char*);
|
||||
void USART_IT_Receive_Enable(USART_TypeDef*);
|
||||
void Init_IT_Receive(void (*Receive_IT_function) (int));
|
||||
4
Pilotes/Include/Plateau.h
Normal file
4
Pilotes/Include/Plateau.h
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#include "stm32f10x.h"
|
||||
|
||||
void initPlato(TIM_TypeDef * Timer, int Channel);
|
||||
void Update_Motor_PWM(int Consigne, TIM_TypeDef * Timer, int Channel);
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
#include "stm32f10x.h"
|
||||
#include "PWM.h"
|
||||
|
||||
void initPlato(TIM_TypeDef * Timer, int Channel){ // Config du moteur servo
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue