文件名称:使用外部24C02保存参数试验
- 所属分类:
- 通讯/手机编程
- 资源属性:
- 上传时间:
- 2017-11-20
- 文件大小:
- 65kb
- 下载次数:
- 0次
- 提 供 者:
- zhuwe******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用AT24C02保存参数程序
1、程序说明:
该例程演示了使用外部AT24C02保存设置参数实验,通过按键设置一个
参数,然后把该参数保存到AT24C02中,下次开机就可以看到
上次保存的数据。
2、实验操作
程序下载到开发板运行后,可以看到数码管显示数值。
每次按下按键S12,该数值将加1,
每次按下按键S14,该数值将减1,
每次按下按键S13,将保存该数值,
给板子断电再重新上电,可以看到显示上次保存的数据。(Save parameter program with AT24C02
1. Program descr iption:
The routines demonstrate the use of external AT24C02 save settings parameters experiment, set a button
Parameters, and then save the parameter to AT24C02, the next boot can be seen
Last saved data.
2. Experimental operation
After the program is downloaded to the development board, you can see the digital tube display value.
Each time you press the key S12, the value will be added 1,
Each time you press the key S14, the value will be reduced by 1,
Each time you press the key S13, the value will be saved,
To power the board and then power it again, you can see the last saved data.)
1、程序说明:
该例程演示了使用外部AT24C02保存设置参数实验,通过按键设置一个
参数,然后把该参数保存到AT24C02中,下次开机就可以看到
上次保存的数据。
2、实验操作
程序下载到开发板运行后,可以看到数码管显示数值。
每次按下按键S12,该数值将加1,
每次按下按键S14,该数值将减1,
每次按下按键S13,将保存该数值,
给板子断电再重新上电,可以看到显示上次保存的数据。(Save parameter program with AT24C02
1. Program descr iption:
The routines demonstrate the use of external AT24C02 save settings parameters experiment, set a button
Parameters, and then save the parameter to AT24C02, the next boot can be seen
Last saved data.
2. Experimental operation
After the program is downloaded to the development board, you can see the digital tube display value.
Each time you press the key S12, the value will be added 1,
Each time you press the key S14, the value will be reduced by 1,
Each time you press the key S13, the value will be saved,
To power the board and then power it again, you can see the last saved data.)
相关搜索: 单片机
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
24C02_Test.plg | 253 | 2013-05-07 |
24C02_Test.uvgui.Administrator | 129308 | 2013-09-27 |
24C02_Test.uvgui_Administrator.bak | 129312 | 2013-09-27 |
24C02_Test.uvopt | 8459 | 2013-09-27 |
24C02_Test.uvproj | 14955 | 2013-09-27 |
24C02_Test_uvopt.bak | 8459 | 2013-09-27 |
24C02_Test_uvproj.bak | 14589 | 2013-09-27 |
Application | ||
Application\Doc | ||
Application\Doc\readme.txt | 427 | 2013-09-27 |
Application\Header | ||
Application\Header\24c02.h | 514 | 2013-09-27 |
Application\Header\STC15F2K60S2.H | 8919 | 2013-09-04 |
Application\Header\hc595.h | 876 | 2013-09-05 |
Application\Source | ||
Application\Source\24c02.c | 5011 | 2013-05-21 |
Application\Source\hc595.c | 3779 | 2013-09-25 |
Application\Source\main.c | 4624 | 2013-09-27 |
Application\Startup | ||
Application\Startup\STARTUP.A51 | 6376 | 2009-05-07 |
Lis | ||
Lis\24C02_Test.m51 | 24616 | 2013-09-27 |
Lis\24c02.lst | 9125 | 2013-09-27 |
Lis\STARTUP.lst | 14149 | 2013-05-07 |
Lis\hc595.lst | 8269 | 2013-09-27 |
Lis\main.lst | 11579 | 2013-09-27 |
Obj | ||
Obj\24C02_Test | 18590 | 2013-09-27 |
Obj\24C02_Test.hex | 2969 | 2013-09-27 |
Obj\24C02_Test.lnp | 150 | 2013-09-27 |
Obj\24C02_Test.plg | 1326 | 2013-09-27 |
Obj\24c02.obj | 7560 | 2013-09-27 |
Obj\STARTUP.obj | 846 | 2013-05-07 |
Obj\hc595.obj | 6042 | 2013-09-27 |
Obj\main.obj | 7066 | 2013-09-27 |