en attente girouette
This commit is contained in:
parent
b8ea95d790
commit
65327ef878
1 changed files with 7 additions and 0 deletions
|
@ -51,6 +51,7 @@ int angle_sail = 0;
|
||||||
int RF_Input_Duty = 0;
|
int RF_Input_Duty = 0;
|
||||||
int TX_Flag = 0, CONTROL_LOOP_Flag = 0;
|
int TX_Flag = 0, CONTROL_LOOP_Flag = 0;
|
||||||
|
|
||||||
|
char wait_for_girouette[] = "En attente d'initialisation de la girouette\r\n";
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
/* Configure the system clock to 72 MHz */
|
/* Configure the system clock to 72 MHz */
|
||||||
|
@ -61,6 +62,12 @@ int main(void)
|
||||||
SAIL_Init();
|
SAIL_Init();
|
||||||
accelero_init();
|
accelero_init();
|
||||||
|
|
||||||
|
while(!INCR_ENCODER_IsAbsolute())
|
||||||
|
{
|
||||||
|
emetteur_send_bytes(wait_for_girouette, sizeof(wait_for_girouette));
|
||||||
|
LL_mDelay(500);
|
||||||
|
}
|
||||||
|
|
||||||
/* Infinite loop */
|
/* Infinite loop */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue