8051 microcontroller

Thread Starter

ching fong kee

Joined Jun 23, 2010
42
Now i'm using MicroC to write the code in C programming on 8051 microcontroller....
MicroC is using in PIC
and the problem that i faced is
when declare a I/O in PIC is
PORTA = 0;
TRISA = 0xFC; // inputs except RA1,RA0 p to 4017

PORTB = 0;
TRISB = 0; // out
then how im going to declare the I/O for the 8051?
 
Top