PB0PU = 1; /* Pushbutton directions and pull-ups */ PB0DIR = 0; PB1PU = 1; PB1DIR = 0; PB2PU = 1; PB2DIR = 0; PB3PU = 1; PB3DIR = 0;
还有LED1DIR = 1; /* LED directions */ LED2DIR = 1; LED3DIR = 1; LED4DIR = 1;
是smac远程控制里的程序段,这个direction是个什么意思,leddir和pbdir?
我刚学,高手请指教
|