文件名称:8-Channel-TDS
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- 上传时间:
- 2016-12-06
- 文件大小:
- 981kb
- 下载次数:
- 0次
- 提 供 者:
- JAHN****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
优化如下:
1、结合论坛大家的程序,去粗取精。
2、大家的程序都是在单片机开一个128bit数组,存储显示数据,一方面占用了单片机的宝贵空间,而且,每次改变一个段位,都要把全部数据写一遍,比较占用时间。
3、采用对所写段位先读后写的方式,每次只读写4bit,对数字位,只读写8bit,提高速度。
4、程序在89s52单片机运行通过,程序中加了详细注解,便于阅读。
5、编译后的空间占用由论坛的程序的1200字节降到800字节,降低1/3.-Optimization is as follows:
1, combined with the forum we all procedures, to rough fine.
2, we are in the microcontroller program to open a 128bit array, storage display data, on the one hand takes up the valuable space of the microcontroller, and each time to change a paragraph, all the data should be written again, more time.
3, the use of the first to write after reading the way to write bits, each time only read and write 4bit, the digital bits, read and write 8bit, improve speed.
4, procedures in 89s52 single-chip running through the process of adding a detailed note, easy to read.
5, after compiling the space occupied by the Forum procedures 1200 bytes down to 800 bytes, reduced by 1/3.
1、结合论坛大家的程序,去粗取精。
2、大家的程序都是在单片机开一个128bit数组,存储显示数据,一方面占用了单片机的宝贵空间,而且,每次改变一个段位,都要把全部数据写一遍,比较占用时间。
3、采用对所写段位先读后写的方式,每次只读写4bit,对数字位,只读写8bit,提高速度。
4、程序在89s52单片机运行通过,程序中加了详细注解,便于阅读。
5、编译后的空间占用由论坛的程序的1200字节降到800字节,降低1/3.-Optimization is as follows:
1, combined with the forum we all procedures, to rough fine.
2, we are in the microcontroller program to open a 128bit array, storage display data, on the one hand takes up the valuable space of the microcontroller, and each time to change a paragraph, all the data should be written again, more time.
3, the use of the first to write after reading the way to write bits, each time only read and write 4bit, the digital bits, read and write 8bit, improve speed.
4, procedures in 89s52 single-chip running through the process of adding a detailed note, easy to read.
5, after compiling the space occupied by the Forum procedures 1200 bytes down to 800 bytes, reduced by 1/3.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8閫氶亾鑷