Revision 564 branch/faye/sp4b1/SP4b1/SP4b1.c

View differences:

SP4b1.c
8 8
/*  This file is generated by Renesas Project Generator (Ver.4.18).    */
9 9
/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */
10 10
/***********************************************************************/
11

  
12
void main(void)
13
{
11
#include "sfr32c87.h"
12
 char t;
13
void main(void) {
14 14
	
15
}
15
	pd10 = 0xF0;/* definir les broche entr?es sorties*/
16
	p10 =0xFF; /* definir les broche entr?es sorties*/
17
	pu30 = 1;/*on donne une valeur au registre pu3*/
18
	t = p10;/* on donne une  valeur ? t*/
19
	p10 = 0x00;
20
	t = p10;
21
	while (1) {
22
		p10 = 0x0F;
23
		t = p10;
24
		
25
		
26
}

Also available in: Unified diff