30 lines
309 B
C
30 lines
309 B
C
#include "stm32f10x.h"
|
|
#include "GPIO.h"
|
|
#include "TIMER.h"
|
|
|
|
|
|
|
|
void Mafonction_IT (void);
|
|
MyGPIO_Struct_TypeDef PA5;
|
|
MyGPIO_Struct_TypeDef PC13;
|
|
MyTimer_Struct_TypeDef timer2;
|
|
//PA5 LED
|
|
//PC13 Bouton
|
|
|
|
int main ( void )
|
|
{
|
|
|
|
|
|
while(1)
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Mafonction_IT (void)
|
|
{
|
|
MyGPIO_Toggle(PA5.GPIO,5);
|
|
}
|