文件名称:chip1

介绍说明--下载内容均来自于网络,请自行研究使用

VB遥控播放器红外遥控解码

#include <regX52.h>



#define c(x) (x*110592/120000)

sbit Ir_Pin=P3^2

   sbit beep=P2^1

   //sbit RELAY=P2^0

#define INBUF_LEN 4 //数据长度

unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //发送缓冲区

unsigned char inbuf2[50] //接收缓冲区

unsigned char count3

void init_serialcomm( void )

{

SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr

T2CON=0x30

TH2=0x00

TL2=0x00

RCAP2H=0xFF

RCAP2L=0xDC

TR2=1

}

//向串口发送一个字符

void send_char_com( unsigned char ch)

{

SBUF=ch

while (TI== 0 )

TI= 0-VB player remote control infrared remote control decoder# Include <regX52.h># Define c (x) (x* 110592/120000) sbit Ir_Pin = P3 ^ 2 sbit beep = P2 ^ 1// sbit RELAY = P2 ^ 0# define INBUF_LEN 4// data length unsigned char inbuf1 [INBUF_LEN] = (0, 0, 0, 0)// Send buffer unsigned char inbuf2 [50]// receive buffer unsigned char count3 void init_serialcomm (void) ( SCON = 0x50// SCON: serail mode 1, 8-bit UART, enable ucvrT2CON = 0x30 TH2 = 0x00 TL2 = 0x00 RCAP2H = 0xFF RCAP2L = 0xDC TR2 = 1)// to send a serial character void send_char_com (unsigned char ch ) (SBUF = ch while (TI == 0) TI = 0
(系统自动生成,下载前可以参看下载内容)

下载文件列表

本站原创 VB遥控播放器红外遥控解码

.................................\s51yaokong

.................................\s51yaokong.hex

.................................\s51yaokong.lnp

.................................\s51yaokong.M51

.................................\s51yaokong.Opt

.................................\s51yaokong.plg

.................................\s51yaokong.Uv2

.................................\s51yaokong_Opt.Bak

.................................\s51yaokong_Uv2.Bak

.................................\s51yk.c

.................................\s51yk.LST

.................................\s51yk.OBJ

.................................\VB遥控音乐播放器上位机程序

.................................\..........................\ASYCFILT.DLL

.................................\..........................\COMCAT.DLL

.................................\..........................\Form1.frm

.................................\..........................\Form1.frx

.................................\..........................\Form2.frm

.................................\..........................\Form2.frx

.................................\..........................\hifans.ini

.................................\..........................\HIFANSBROWSER.uzy

.................................\..........................\HIFANSBROWSER.vbp

.................................\..........................\HIFANSBROWSER.vbw

.................................\..........................\MSCOMCHS.DLL

.................................\..........................\MSCOMM32.OCX

.................................\..........................\MSSCCPRJ.SCC

.................................\..........................\MSVBVM60.DLL

.................................\..........................\MSVCRT.DLL

.................................\..........................\OLEAUT32.DLL

.................................\..........................\OLEPRO32.DLL

.................................\..........................\RICHMCU IR PLAYER.exe

.................................\..........................\rmoc3260.dll

.................................\..........................\rmoc3260.oca

.................................\..........................\scrrnchs.dll

.................................\..........................\scrrun.dll

.................................\..........................\stdole2.tlb

.................................\..........................\VB6CHS.DLL

.................................\..........................\VB6STKIT.DLL

.................................\..........................\安装程序

.................................\..........................\........\VB遥控播放器安装程序.exe

.................................\实验指导文档.doc

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org