大家帮忙看看 这段程序有什么问题
#include <hidef.h> /* common defines and macros */
#include "derivative.h" /* derivative-specific definitions */
void main(void)
{
/* put your own code here */
EnableInterrupts;
DDRB=0x01;
PORTB_PB0=0;
if(PORTB_PB1==0)
PORTB_PB0=1;
for(;;) {
_FEED_COP(); /* feeds the dog */
} /* loop forever */
/* please make sure that you never leave main */现在我把PORTB_PB1脚对地但 PORTB_PB0脚并没有拉高 不知道为什么啊
}