单片机的C语言程序设计.pdf

上传人:Q****o 文档编号:56609097 上传时间:2022-11-02 格式:PDF 页数:8 大小:181.10KB
返回 下载 相关 举报
单片机的C语言程序设计.pdf_第1页
第1页 / 共8页
单片机的C语言程序设计.pdf_第2页
第2页 / 共8页
点击查看更多>>
资源描述

《单片机的C语言程序设计.pdf》由会员分享,可在线阅读,更多相关《单片机的C语言程序设计.pdf(8页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、1/8 单片机的 C 语言程序设计一阶段序号姓名方廷宇学号30802089 专业班级电信 0802组号指导老师一实验目的学习掌握单片机的语言编程方法;2熟悉并掌握Protues仿真软件的按章,使用及调试方法;3熟悉 keil c 的编译环境使用及调试方法;4学习 protell 的画图二思考作业设计一个LED 灯 1 秒闪烁的程序,绘制电路图,用两种方法给出程序。#include“reg51.h”#define uchar unsigned char#define uint unsigned int Sbit P1_0=P10。Void m(unsigned int d unsigned in

2、t i=0。For(。d0。d-For(i=0。i。Void main(for(。P1_0=!P1_0。m(1000。#includereg51.h sbit P1_0=P10。2/8 void main(int a=0。P1=0 xff。TMOD=0 x01。TH0=(65536-20000/256。TL0=(65536-20000%256。TR0=1。for(。if(TF0=1 TF0=0。TH0=(65536-20000/256。TL0=(65536-20000%256。a+。if(a=25 P1_0=!P1_0。a=0。2用 C 语言设计流水灯的程序,绘制电路图,用两种方法给出程序#i

3、nclude”reg51.h”#include”strins.h”#define uchar unsigned char#define uint unsigned int Void m(unsigned int d unsigned int i=0。For(。d0。d-For(i=0。i。Void main(0 unsigned char o=0 xfe。For(。P1=o。o=_crol_(o,1。m(1000。文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y

4、8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L

5、2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9

6、A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU

7、8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY

8、4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2

9、W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:

10、CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V13/8#includereg51.h#define uchar unsigned char uchar m=0,i=0。sbit P3_0=P30。void main(P1=0 xff。TMOD=0 x01。TH0=(65536-50000/256。TL0=(65537-50000%256。TR0=1。EA=1。ET0=1。while(1。void timer(interrupt 1 TH0=(65536-50000/256。TL0=(655

11、37-50000%256。m+。if(m=20 m=0。P3=(0 x01。if(+i=8 i=0。3针对下图,用单片机语言编程实现时钟,并利用Protues 仿真演示。1 秒钟的定时使用定时器中断方式)1)硬件原理图文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8

12、K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V

13、1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2

14、G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1

15、D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F

16、6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8

17、Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V14/8 图 1 定时电路原理图2)软件流程图3

18、)程序清单 P2=0 x3f。P3=0 x3f。TMOD=0 x01。TH0=(65536-40000/256。TL0=(65536-40000%256。TR0=1。EA=1。ET0=1。for(。void timer(interrupt 1 文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G1

19、0P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8

20、K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V

21、1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2

22、G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1

23、D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F

24、6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V15/8 TH0=(6

25、5536-40000/256。TL0=(65536-40000%256。b+。if(b=25 b=0。P3=ai。i+。if(i=10 i=0。P2=aj。j+。if(j=6 P2=0 x3f。j=0。针对图2,用单片机语言编程按键按下,显示数据增加,并用Protues 仿真运行1)硬件原理图文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9

26、ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档

27、编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10

28、P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K

29、9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1

30、文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G

31、10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D

32、8K9 ZC2W9A3F6V16/8 图 2 计数电路原理图2)软件流程图3)程序清单 P2=0 x3f。P0=0 x3f。P3_7=1。TMOD=0 x01。TH0=(65536-50000/256。TL0=(65536-50000%256。TR0=1。EA=1。ET0=1。for(。void timer(interrupt 1 TH0=(65536-50000/256。TL0=(65536-50000%256。b+。文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:C

33、U8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 H

34、Y4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC

35、2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码

36、:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1

37、 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9

38、ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档

39、编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V17/8 if(P3_7=0 if(b=3 b=0。P2=ai。i+。if(i=10 i=0。P0=aj。j+。if(j=10 j=0。三、思考问题(1)C51 的数据类型有哪些?标准 c语言的数据类型有哪些?两个的区别?(2)在编程中include reg51.H 的使用及作用是什么?(3)在设计中单片机的位如何表示?如何赋值?如果是特殊功能寄存器的位如何定义并赋值?如果是普通的位如何定义和赋值?(4)在编程中define 的使用和功能

40、是什么?在程序设计中模块化的结构如何理解?主函数和子函数如何架构?子函数的调用如何使用?5)自学 C51 编程用定时器延时的方法完成工程1-1 led 灯闪一下的程序。6)比较定时器延时和软件延时编程的区别?8)说明段码管显示的程序设计,共阴,共阳的概念;四实验小结遇到的问题,如何解决?文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2

41、W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:

42、CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1

43、HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 Z

44、C2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编

45、码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P

46、1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9

47、 ZC2W9A3F6V18/8 知识总结等?文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC

48、2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码

49、:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1

50、 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9 ZC2W9A3F6V1文档编码:CU8Y8Z2G10P1 HY4L2C1D8K9

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁