ejemplo1.c

Un ejemplo simple.

#define	PuertoA	(*(volatile unsigned char *)(0x005))
#define	TRISdeA	(*(volatile unsigned char *)(0x085))

int main (void)
{
	unsigned char c=100;

	TRISdeA=0;

	PuertoA=c;

	return 0;
}