文中提出了用MCS - 51单片机内部定时器及软件,实现普通彩电红外遥控信息的解码方法。
This paper presents a method to accomplish the decoding of general color TV infrared remote control information by using the inner timer of single chip microprocessor MCS 51ard its software.
通过单片机的设置可使内部定时器T1对脉冲输入引脚T0进行控制,这样能精确地算出加到T0引脚的单位时间内检测到的脉冲数;
SCM through the setup will enable the internal timer T1 pulse input pin T0 control, This can be accurately calculated foisted T0 pin unit time detection of the pulse;
从本机读取的ID卡的名称(例如s)和其内部定时器的当前日期(例如,D)和时间(比如说,T)中,并产生一个新的记录,由d - S的- T的表示,在它的数据库。
The machine reads the name (say s) from the ID card, and the current date (say, d) and time (say, t) from its internal timer, and generates a new record, denoted by d-s-t, in its database.
应用推荐