皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
程序分析题。如下图所示电路,设定为12MHz的前提下,修改下面程序使得二极管的发光顺序为(1)、D0D7àD1D6àD2D5àD3D4(2)、D3D4à D2D5 à D1D6à D0D7间隔为1s#include unsigned char Disp1[8]={0x01,0x03,0x07,0x0f,0x1f,0x3f,0x7f,0x0ff};unsigned char Disp2[8]={0x80,0x0c0,0x0e0,0x0f0,0x0f8,0x0fc,0x0fe,0x0ff};void DelayXs ( unsigned char x ){unsigned char i, j;for( ; x>=1; x-- ) for( i=200; i>0; i-- )for( j=250; j>0; j-- ) ;}void Disp( unsigned char * ptr ){unsigned char k;for( k=0; k<8; k++ ){P1 = *ptr;DelayXs(1);ptr++;}}void main( void ){unsigned char *PTR;for( ; ; ){P1 = 0x00;DelayXs( 20 );PTR = &Disp1;Disp( PTR );P1 = 0x00;DelayXs( 20 );PTR = &Disp2;Disp( PTR );}}
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Read and write. 仿照例子写出相应的单词。 1. 例:go - went wash - do - read  - study - eat - 2. 例:do - doing swim - go - play - watch - put  -
【简答题】仿照例子填空。 1. 例: go — went wash — do — read — study — eat — 2. 例: do — doing swim — go — play — watch — put —
【多选题】下列属于理性情绪疗法的步骤的有( )
A.
列出引发不良情绪的事件和认识
B.
找到对应不良事件认识的非理性观念
C.
纠正非理性观念
D.
建立合理信念
【单选题】我国现存最早的外科学专著
A.
《外科精要》
B.
《刘涓子鬼遗方》
C.
《外科正宗》
D.
《外科精义》
【单选题】研究个别居民与厂商决策的经济学称为
A.
宏观经济学;
B.
微观经济学;
C.
实证经济学;
D.
古典经济学。
【简答题】看图,根据例子补全对话。 例: — Do you like apples? — No, I don't. 1. — Do you like _______________? — Yes, I do. 2. — Do you ___________________? — ___________________.
【简答题】看图写句子,补全对话。 例: A: What do you do on the weekend? B: I often play the piano. 1. A: _________________ on the weekend? B: I often _________________. 2. A: _________________ on the weekend? B: I often ___...
【单选题】我国现存最早的外科学专著
A.
《外科精要》
B.
《刘涓子鬼遗方》
C.
《外科精义》
D.
《外科正宗》
【多选题】如图所示,一个半径和质量不计的定滑轮O固定在天花板上,物块 B 和 A 通过轻弹簧栓接在一起,竖直放置在水平地面上保持静止后,再用不可伸长的轻绳绕过滑轮连接物块 A 和 C ,物块 C 穿在竖直固定的细杆上, OA 竖直, OC 间距 l = 3m 且水平,此时 A 、 C 间轻绳刚好拉直而无作用力。已知物块 A 、 B 、 C 质量均为 2kg 。不计一切阻力和摩擦, g 取 10m/s 2 ....
A.
.弹簧的劲度系数为 20N/m
B.
.此过程中绳子对物块 A 做的功为 60J
C.
.此时物块 A 速度的大小为 8 m/s
D.
.绳子对物块 C 做功的大小等于物块 A 动能的增加量
【简答题】根据例句仿写。 例:A: What do you do at the weekend? B: I play football at the weekend. 1. A: ______________ B: ______________ 2. A: ______________ B: ______________ 例:A: What do you have at school? B: I have ...
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题