搜索资源列表
FUN_VS_IO
- 使用单片机STC89C51RC普通IO口模拟串口三种方法-// 1. get_rx_pin_status() // Returns 0 or 1 dependent on whether the receive pin is high or low. // 2. set_tx_pin_high() // Sets the transmit pin to the high state. // 3. set_tx_pin_low() // Sets the transmit pi
50hz
- 定时中断方波。(10分) 比如让P1.0口输出一个周期为50Hz的方波 -Timer interrupt square wave. (10) For example let P1.0 port output a square wave cycle is 50Hz
TEXT
- 本设计利用STC89C51单片机的定时器/计数器定时和计数的原理,使其能精确计时。利用中断系统使其能实现开始暂停的功能。根据要求知道秒表设计主要实现的功能是计时和显示。因此设置了三个按键和LED显示时间,三个按键分别是开始、停止和复位按键。利用这三个建来实现秒表的全部功能,而LED则能显示最多59.99秒的计时。-This design uses STC89C51 microcontroller timer/counter timer counting principle and that it