资 源 简 介
1.熟悉硬件仿真工具KD30的使用。 2.修改样本程序 SAMP1a,使无论在计数或停止计数时,按 SW3 均对计数值清零,并停止计数。 3.编制一个秒表程序, 测试精度为0.1秒,按 SW1键启动计数,再按一次 SW1键停止计数。任何时候按 SW3 键停止计数,并对计数值清零。 4.按 SW1键后, 以 0.1 秒为单位开始计数,再按一次 SW1 键停止计数。若按 SW1 键时间超过2秒,则计数值清零,回到初始状态。-1. Familiar with the hardware simulation tool KD30 use. 2. Revised procedures SAMP1a samples, regardless of the count or counts at the end, according to SW3 numerical terms were right, reset, and stop counting. 3. Preparation of a stopwatch procedures, testing accuracy of 0.1 seconds, according to bond SW1 start counting, according to a key SW1 stopped counting. By SW3 any time to stop counting bond and reset the count. 4. By SW1 bond, after 0.1 seconds for start counting, according to a key SW1 stopped counting. If SW1 keys by the time more than two seconds, then reset the count and return to the initial state.