Plateau a continuer
This commit is contained in:
parent
7163e05d17
commit
d3a8307d90
1 changed files with 11 additions and 8 deletions
|
@ -5,23 +5,26 @@
|
||||||
#include "Plateau.h"
|
#include "Plateau.h"
|
||||||
#include "telecommande.h"
|
#include "telecommande.h"
|
||||||
|
|
||||||
char data[] = "Hello World";
|
|
||||||
int i = 0;
|
|
||||||
int len = sizeof(data) - 1; // -1 pour ne pas envoyer le caractère nul
|
|
||||||
|
|
||||||
|
|
||||||
int main (void){
|
int main (void){
|
||||||
|
|
||||||
init_telecommande();
|
MyGPIO_Struct_TypeDef * GPIO;
|
||||||
Plateau_init();
|
|
||||||
Plateau_direction(DROITE);
|
//init_telecommande();
|
||||||
|
//Plateau_init();
|
||||||
|
//Plateau_direction(DROITE);
|
||||||
|
|
||||||
|
|
||||||
|
//testRemote();
|
||||||
|
MyGPIO_Init(GPIO);
|
||||||
|
|
||||||
|
|
||||||
testRemote();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
while(1){
|
while(1){
|
||||||
|
MyGPIO_Set(GPIOA,3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue