Révision 840
Ajouté par anclaud il y a presque 4 ans
uart0.c | ||
---|---|---|
void main(void)
|
||
{
|
||
char c;
|
||
char buffer;
|
||
int i, nb_caractere;
|
||
|
||
uart0_init();
|
||
|
||
//c = '3';
|
||
while(1)
|
||
{
|
||
char trame[128];
|
||
c = uart0_rx();
|
||
uart0_tx(c);
|
||
nb_caractere = rectrame(trame);
|
||
//alphabet();
|
||
}
|
||
}
|
Formats disponibles : Unified diff
Fonction rectrame presque OK