Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

Very Simple Circuit but cannot work! Please help.

$
0
0
void initiate_main()
{
trisa=1; porta=0;
trisd=0; portd=0;

}

void main()
{
initiate_main();
while(1)
{
if(porta.f0==1)
{
portd.f0=1;
}

else
{
portd.f0=0;
}
}
}

What's wrong with the programming?

Viewing all articles
Browse latest Browse all 1271

Trending Articles