Description: Save parameter program with AT24C02
1. Program description:
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.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
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 |