vinodhembedded
Junior Member level 2
Hi friends.
Actually i m trying to do a simple compilation in Mikro c, But its showing errors.. i couldnt figure out the errors.. the program i entered compiled well in MPLAB..
this the program.
#include<built_in.h>
void main()
{
TRISB=0x01;
PORTB=0;
TRISC=0;
PORTC=0;
while(1)
{ if(RB0==1)
{RC0=1;
Delay_ms(3000);
RC0=0;
Delay_ms(3000);
}}
PLease help....
Actually i m trying to do a simple compilation in Mikro c, But its showing errors.. i couldnt figure out the errors.. the program i entered compiled well in MPLAB..
this the program.
#include<built_in.h>
void main()
{
TRISB=0x01;
PORTB=0;
TRISC=0;
PORTC=0;
while(1)
{ if(RB0==1)
{RC0=1;
Delay_ms(3000);
RC0=0;
Delay_ms(3000);
}}
PLease help....