Révision 763
Ajouté par jileng il y a presque 4 ans
sp4c1.c | ||
---|---|---|
/***********************************************************************/
|
||
//importation bibliotheque
|
||
#include "sfr32c87.h"
|
||
|
||
#include "uart0.h"
|
||
void main(void)
|
||
{
|
||
|
||
char c;
|
||
char i='a';
|
||
int k=0;
|
||
while(1){
|
||
uart0_init();
|
||
c=uart0_txchar('a');
|
||
c=uart0_txchar(i);
|
||
for(k=0;k<=26;k++)
|
||
{
|
||
c=uart0_txchar(i+k);
|
||
}
|
||
}
|
||
}
|
Formats disponibles : Unified diff
leng commit sp4c1 fichier main .c et uart0.c , uart0.h