Révision 862
Ajouté par jeleroy il y a presque 4 ans
SP4c2.c | ||
---|---|---|
char uart0_rx(void);
|
||
void irec_trame();
|
||
int hex2int(char* c);
|
||
void uart0_inter_init();
|
||
void uart0_inter_init();
|
||
char trame[200];
|
||
int nombre_caractere = 0;
|
||
|
||
... | ... | |
if (c == '$'){ //Tant qu'on ne re?oit pas le carat?re qui indique le d?but de la trame, on attend
|
||
etat = 2;
|
||
check_sum=0;
|
||
i = 0;
|
||
i = 0;
|
||
nombre_caractere = 0;
|
||
|
||
}
|
||
break;
|
||
|
Formats disponibles : Unified diff
Correction sur le programme