27 lines
397 B
C
27 lines
397 B
C
#ifndef CHAVIREMENT_H
|
|
#include "chavirement.h"
|
|
#endif
|
|
|
|
#ifndef MYGPIO_H
|
|
#include "Driver_GPIO.h"
|
|
#endif
|
|
|
|
#include "bordage.h"
|
|
|
|
#include "tourniquet.h"
|
|
|
|
uint16_t value = 0;
|
|
|
|
int main(void) {
|
|
int i = 0;
|
|
//on init le GPIO A
|
|
MyGPIO_Activate(1);
|
|
MyGPIO_Activate(2);
|
|
//on init le système de chavirement
|
|
init_bordage();
|
|
init_codeur_incr();
|
|
|
|
chavirement_init();
|
|
tourniquet_init();
|
|
while(1) {}
|
|
}
|