文件名称:SmallRTOS51clock
介绍说明--下载内容均来自于网络,请自行研究使用
这是Small RTOS 51 DP-51下载仿真实验仪上实现一个闹钟的源代码。它可以使用k1~k4调整时间,使用串口设置一个报警时间。由于仅仅是一个例子而非产品,有一些细节没有完善。如调整完时间后第一次显示的时间是错误的(由于共享TimeData引起);没有使用串行eeprom存储多个报警时间等;删除报警代码没有编写。不过,程序已经可以使用,读者可以自行完善它。通讯协议参考rtos随想曲和test.ini。
注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\\temp中,您可以在Project->Options for Target \"Target 1\"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变.
(2)编译时会有6个警告,可以忽略.
(3)除与pcf8563相关的跳线和蜂鸣器的跳线外,DP-51下载仿真实验仪的所有跳线选取默认值。-This the Small RTOS 51 DP-51 download simulation device to achieve a clock source. It can be used k1 k4-time adjustments, the use of a serial set alarm time. As just one example, not products, some of the details not perfect. End adjustment time as the first time the show is wrong (due to shared TimeData lead); not using serial eeprom storage alarm over time; Alarm delete code compiled. However, the procedure can be used, the reader is free to perfect it. Communication protocol reference rtos test.ini and Capriccio. Note : (1) in KEIL C51 project, I have incorporated the output directory in e : \\ temp. You can Project -
注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\\temp中,您可以在Project->Options for Target \"Target 1\"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变.
(2)编译时会有6个警告,可以忽略.
(3)除与pcf8563相关的跳线和蜂鸣器的跳线外,DP-51下载仿真实验仪的所有跳线选取默认值。-This the Small RTOS 51 DP-51 download simulation device to achieve a clock source. It can be used k1 k4-time adjustments, the use of a serial set alarm time. As just one example, not products, some of the details not perfect. End adjustment time as the first time the show is wrong (due to shared TimeData lead); not using serial eeprom storage alarm over time; Alarm delete code compiled. However, the procedure can be used, the reader is free to perfect it. Communication protocol reference rtos test.ini and Capriccio. Note : (1) in KEIL C51 project, I have incorporated the output directory in e : \\ temp. You can Project -
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 101259366smallrtos51clock.rar 列表 clock clock\clock.Opt clock\clock.Uv2 clock\CONFIG.H clock\main.c clock\OS_CFG.H clock\OS_CPU.H clock\readme.TXT clock\serial.c clock\serial.h clock\test.ini