文件名称:20100917
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:139.68kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在使用 KEIL 的时候,我们习惯上在一个.c 的文件中把自己要写的东西按照
自己思路的顺序进行顺序书写。这样是很普遍的写法,当程序比较短的时候比如
几十行或者一百多行,是没有什么问题的。但是当程序很长的时候,比如你要用
到 LCD 显示数据,就有几个 LCD 相关的函数,然后你想在 LCD 上显示温度,那么
就要有 DS18B20 相关的操作,这又有几个相关的函数,如果你还想加上去 DS1302
的时间显示功能,那么又要多很多函数。这样的话一个程序下来几百行是很正常
的事情,对于自己写的程序可能在自己的脑海中比较清晰,不会太乱,但是当把
自己写的程序交给别人来看的时候,别人往往会看的云里雾里,经常会看着看着
就不知道你写的是什么了。 此资料将告诉你如何把程序分块编写。-When using the KEIL, we are accustomed to in a. C of the documents in accordance with their own things to write
Own ideas in order to write the order. This is a common formulation, when the procedure is such a short time
Dozens of line or more than 100 lines, is no problem. But when the program a long time, like you want to use
To the LCD display data, there are several LCD-related function, then you want to display in the LCD temperature, then
We must have DS18B20 related operations, which there are several related functions, if you would like to add to the DS1302
Time display, then again a lot more functions. In this case a program is normal for a few hundred lines down
Things, for their own programs written in his own mind may be relatively clear, not too messy, but when the
Write your own program to look at other people, other people tend to look at the foggy, often watching it
Do not know what you write is. This information will tell you how to block the preparation proces
自己思路的顺序进行顺序书写。这样是很普遍的写法,当程序比较短的时候比如
几十行或者一百多行,是没有什么问题的。但是当程序很长的时候,比如你要用
到 LCD 显示数据,就有几个 LCD 相关的函数,然后你想在 LCD 上显示温度,那么
就要有 DS18B20 相关的操作,这又有几个相关的函数,如果你还想加上去 DS1302
的时间显示功能,那么又要多很多函数。这样的话一个程序下来几百行是很正常
的事情,对于自己写的程序可能在自己的脑海中比较清晰,不会太乱,但是当把
自己写的程序交给别人来看的时候,别人往往会看的云里雾里,经常会看着看着
就不知道你写的是什么了。 此资料将告诉你如何把程序分块编写。-When using the KEIL, we are accustomed to in a. C of the documents in accordance with their own things to write
Own ideas in order to write the order. This is a common formulation, when the procedure is such a short time
Dozens of line or more than 100 lines, is no problem. But when the program a long time, like you want to use
To the LCD display data, there are several LCD-related function, then you want to display in the LCD temperature, then
We must have DS18B20 related operations, which there are several related functions, if you would like to add to the DS1302
Time display, then again a lot more functions. In this case a program is normal for a few hundred lines down
Things, for their own programs written in his own mind may be relatively clear, not too messy, but when the
Write your own program to look at other people, other people tend to look at the foggy, often watching it
Do not know what you write is. This information will tell you how to block the preparation proces
相关搜索: DS18B20 LCD
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹/程序模块写法.pdf
新建文件夹
新建文件夹
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.