如果把RB端口接8个按键输出,接到8个led灯,使得led等全亮,则初始化程序为()
A: TRISB=0XFF PORTB=0X00
B: TRISB=0X00 PORTB=0X00
C: TRISB=0X00 PORTB=0X00
D: TRISB=0X00 PORTB=0XFF
A: TRISB=0XFF PORTB=0X00
B: TRISB=0X00 PORTB=0X00
C: TRISB=0X00 PORTB=0X00
D: TRISB=0X00 PORTB=0XFF
举一反三
- 端口定义RB0-RB3输入,RB4-RB7输出() A: TRISB=0XFF B: TRISB=0X03 C: TRISB=0X0F D: TRISB=0X00
- 端口定义RB0-RB3做输入,RB4-RB7做输出口() A: TRISB=0XFF B: TRISB=0X03 C: TRISB=0X0F D: TRISB=0X00
- On00a0July00a0600a02019,00a0which00a0Archaeological00a0Site00a0of00a0China00a0was00a0declared00a0a00a0World00a0Heritage00a0Site00a0by00a0UNESCO?00a000a000a000a0(00a0)
- 中国人民解放军诞生于( )。 A: 1949/8/1 0:00:00 B: 1949/10/1 0:00:00 C: 1927/8/1 0:00:00 D: 1921/7/1 0:00:00
- 【单选题】一个(3,2,1)卷积码的编码器,【图片】【图片】【图片】【图片】【图片】【图片】假设输入X=(1 1 0 1 1 0) ,求编码器编码输出 A. ( 1 10 , 0 00 , 0 01 , 111 , 0 00 , … ) B. ( 1 1 1 , 1 00 , 0 01 , 111 , 0 00 , … ) C. ( 1 1 0 , 1 00 , 1 01 , 111 , 0 00 , … ) D. ( 1 1 1 , 1 00 , 0 01 , 11 0 , 0 00 , … )