Hi
I am new to programming.I have run into trouble.
I am trying to program PIC16F877A using microc and microbrn programmer.
I wrote this code and transferred it into the MCU.Everything went well but when I placed an led between protb pins 1 and 2 nothing happened.Please help me.
void main()
{
TRISB=0;
PORTB=0b10101010;
}
I am new to programming.I have run into trouble.
I am trying to program PIC16F877A using microc and microbrn programmer.
I wrote this code and transferred it into the MCU.Everything went well but when I placed an led between protb pins 1 and 2 nothing happened.Please help me.
void main()
{
TRISB=0;
PORTB=0b10101010;
}