皮皮学,免费搜题
登录
搜题
【简答题】
利用 C51 自带的库函数 _crol_() ,间隔 500ms ,用 P1 口实现流水灯效果,在空格处填上合适的内容。 # #include #define uint unsigned int // 宏定义 # uchar unsigned char void delay(uint z); void main() { uchar temp; // 定义变量 temp ,类型为无符号字符型 temp=0xfe; // 赋初值,确定初始状态为点亮每一个灯 while( ) // 无限循环 { =temp; // 从 P1 口输出 delay(500); // 间隔 500ms =_crol_(temp,1); // 循环 1 位,准备点亮下一个灯 } } void delay(unsigned int z) { uint x,y; for(x=z;x>0;x ) for(y=110;y>0;y--); }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【判断题】换汇成本高于外汇牌价表示盈利,换汇成本越高盈利越多。
A.
正确
B.
错误
【简答题】换汇成本高于外汇牌价表示盈利,换汇成本越高盈利越多。
【判断题】二手车短期租赁的期限是15天。
A.
正确
B.
错误
【单选题】What will be the output of the following Python code? '{a}{b}{a}'.format(a='hello', b='world')
A.
‘hello world’
B.
‘hello’ ‘world’ ‘hello’
C.
‘helloworldhello’
D.
‘hello’ ‘hello’ ‘world’
【判断题】公共艺术专业和数字媒体专业都是由学科的交叉产生的新兴专业。
A.
正确
B.
错误
【多选题】The lubrication system includes_____________, ______________,________________,________________,as well as pipes in various parts of the engine through which the oil flows.
A.
oil pan
B.
oil filter
C.
oil pump
D.
oil relief valve
【多选题】对金山寺描述正确的有 ( )。
A.
金山寺始建于东晋
B.
有“金山山裹寺”之说寺裹山
C.
金山寺原名泽心寺
D.
宋钦宗敕改为龙游寺宋真宗
E.
康熙南巡时赐名江天禅寺
【判断题】公共艺术专业和数字媒体专业都是由学科的交叉产生的新兴专业。( )
A.
正确
B.
错误
【多选题】对金山寺描述正确的有( )
A.
金山寺始建于东晋
B.
有“金山山裹寺”之说
C.
金山寺原名泽心寺
D.
宋钦宗敕改为龙游寺
E.
金山寺位于镇江
【单选题】能正确输出字符串”Hello World!”的语句是( ) 。
A.
putchar(“hello world!”);
B.
gets(“hello world!”);
C.
puts(“hello world!”);
D.
printf(hello world!);
相关题目: