Révision 314
Ajouté par nipelloux il y a plus de 4 ans
| SP4b1.c | ||
|---|---|---|
|
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
||
|
/***********************************************************************/
|
||
|
|
||
|
#include "sfr32c87.h"
|
||
|
char t;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
|
||
|
pd10=0x0F;
|
||
|
while(1){
|
||
|
p10=0x07;
|
||
|
t=p10;
|
||
|
p10=0x0B;
|
||
|
t=p10;
|
||
|
p10=0x0D;
|
||
|
t=p10;
|
||
|
p10=0x0E;
|
||
|
t=p10;
|
||
|
pu31=1;
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
Formats disponibles : Unified diff
Tp1 comprehension