虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Surrogate<b>DATa</b>Main_Surrogate<b>DATa</b>

  • LC7461遥控解码子程序源代码

    //遥控解码子程序,LC7461,用户码为11C//external interrupt0void isr_4(){  unsigned char r_count;//定义解码的个数 unsigned long use_data=0;//定义16位的用户码,只用到13位 unsigned long use_code=0;//定义16位的用户反码,只用到13位 unsigned long data=0;//定义16位数据码,包括8位数据码和反码 unsigned char data_h=0;//数据反码 unsigned char data_l=0;//数据码 _clrwdt();// _delay(7000);//7461解码,延时7000// _delay(7000);//7461解码,延时7000//_delay(7000);//7461解码,延时7000 if(remote==1)  goto error; while(remote==0);//wait to high //_delay(9744);count_delay=0; while(count_delay<143); if(remote==1)  goto error;     /////用户码解码use_data//////////add//////////////////////////     for(r_count=13;r_count>0;r_count--)  {  while(remote==0);//wait to high  count_delay=0;     while(count_delay<24);//_delay(1680);  _c=remote;  if(_c==1)   {   _lrrc(&use_data);   count_delay=0;         while(count_delay<32);//_delay(2200);//wait to low   }  else   _lrrc(&use_data);  }  _nop(); //if(remote==1)  //_delay(1680);//wait to low while(remote==1);//wait to low     _nop();     ////////用户码解码finish/////////add/////////add////////     /////用户码反码解码use_code//////////add//////////////////////////     for(r_count=13;r_count>0;r_count--)  {  while(remote==0);//wait to high  count_delay=0;         while(count_delay<24);//_delay(1680);  _c=remote;  if(_c==1)   {   _lrrc(&use_code);   count_delay=0;         while(count_delay<32);//_delay(2200);//wait to low   }  else   _lrrc(&use_code);  } _nop(); //if(remote==1) // _delay(1680);//wait to low while(remote==1);//wait to low     _nop();     ////////用户码反码解码finish/////////add/////////add////////     ////数据码解码开始////data_l为用户码,data_h为数据码反码//////////// for(r_count=16;r_count>0;r_count--)  {  while(remote==0);//wait to high  count_delay=0;         while(count_delay<24);//_delay(1680);  _c=remote;  if(_c==1)   {   _lrrc(&data);   count_delay=0;         while(count_delay<32);//_delay(2200);//wait to low   }  else   _lrrc(&data);  } ////数据码解码结束//////////////////////////////////////////////// data_l=data; data_h=data>>8; ///用户码////// use_data>>=3; use_code>>=3; use_code=~use_code; //////// ////如果用户码等与0x11c并且数据码和数据反码都校验一致,解码成功 //if((~data_h==data_l)&&use_data==0x11c)//使用用户码 //跳过用户码 if(~data_h==data_l)//如果数据码和数据反码(取反后)相等,解码正确  {  _nop();  r_data=data_l;//r_data为解出的最终数据码  } //否则解码不成功 _nop(); _nop();error:  //r_data=nocode; _nop();    _nop(); _nop();}

    标签: 7461 LC 遥控 解码

    上传时间: 2014-03-27

    上传用户:shenlan

  • 可预置的8位计数器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //变量类型的宏定义

    可预置的8位计数器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //变量类型的宏定义 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码 0x49,0x41,0x1f,0x01,0x09} uchar data cnt[8] //在data区定义8位长度的数组,用来存放计数值 uchar data pre_cnt[8] //在data区定义8位长度的数组,用来存放预置值 sbit drv=P3^4 //定义输出驱动端 bit set_flag //定义工作标志 bit out_flag //定义输出标志 bit keydown_flag //键按下标志

    标签: unsigned include define uchar

    上传时间: 2015-04-29

    上传用户:changeboy

  • Windows下读写硬件的工具. RW - Read & Write utility, for hardware engineers, firmware (BIOS) engineers, driv

    Windows下读写硬件的工具. RW - Read & Write utility, for hardware engineers, firmware (BIOS) engineers, driver developers, QA engineers, performance test engineers, diagnostic engineers, etc., This utility access almost all the computer hardware, including PCI (PCI Express), PCI Index/Data, Memory, Memory Index/Data, I/O Space, I/O Index/Data, Super I/O, Clock Generator, DIMM SPD, SMBus Device, CPU MSR Registers, ATA/ATAPI Identify Data, ACPI Tables Dump (include AML decode), Embedded Controller, USB Information and LPT Remote Access. And also an Command Window is provided to access hardware manually.

    标签: engineers firmware hardware Windows

    上传时间: 2015-07-01

    上传用户:xc216

  • RW - Read & Write utility, for hardware engineers, firmware (BIOS) engineers, driver developers, QA

    RW - Read & Write utility, for hardware engineers, firmware (BIOS) engineers, driver developers, QA engineers, performance test engineers, diagnostic engineers, etc., This utility access almost all the computer hardware, including PCI (PCI Express), PCI Index/Data, Memory, Memory Index/Data, I/O Space, I/O Index/Data, Super I/O, Clock Generator, DIMM SPD, SMBus Device, CPU MSR Registers, ATA/ATAPI Identify Data, ACPI Tables Dump (include AML decode), Embedded Controller, USB Information and LPT Remote Access. And also an Command Window is provided to access hardware manually. Website1: http://rw.net-forces.com/ Website2: http://home.kimo.com.tw/ckimchan.tw/ Website3: http://jacky5488.myweb.hinet.net/ For best view, please change the screen resolution to 1024 x 768 (or above) pixels.

    标签: engineers developers firmware hardware

    上传时间: 2013-12-22

    上传用户:王楚楚

  • This code was used for making the practical measurements in section 2.3 of my thesis. This Matlab co

    This code was used for making the practical measurements in section 2.3 of my thesis. This Matlab code allows an OFDM signal to be generated based on an input data file. The data can be random data, a grey scale image, a wave file, or any type of file. The generated OFDM signal is stored as a windows wave file, allowing it to be viewed, listened to and manipulated in other programs. The modified wave file can then be decoded by the receiver software to extract the original data. This code was developed for the experiments that I performed in my honours thesis, and thus has not been fully debugged. This is the original code developed for the thesis and so has several problems with it. The BER performance given by the simulations is infact Symbol Error Rate.

    标签: This measurements practical section

    上传时间: 2015-09-20

    上传用户:tedo811

  • This cookbook contains a wealth of solutions to problems that SQL programmers face all the time. Rec

    This cookbook contains a wealth of solutions to problems that SQL programmers face all the time. Recipes inside range from how to perform simple tasks, like importing external data, to ways of handling issues that are more complicated, like set algebra. Each recipe includes a discussion that explains the logic and concepts underlying the solution. The book covers audit logging, hierarchies, importing data, sets, statistics, temporal data, and data structures.

    标签: programmers solutions cookbook contains

    上传时间: 2013-12-08

    上传用户:Altman

  • 设计模式实现的数据库底层操作组件在应用程序的设计中

    设计模式实现的数据库底层操作组件在应用程序的设计中,数据库的访问是非常重要的,我们通常需要将对数据库的访问集中起来,以保证良好的封装性和可维护性。在.Net中,数据库的访问,对于微软自家的SqlServer和其他数据库(支持OleDb),采用不同的访问方法,这些类分别分布于System.Data.SqlClient和System.Data.OleDb名称空间中。微软后来又推出了专门用于访问Oracle数据库的类库。我们希望在编写应用系统的时候,不因这么多类的不同而受到影响,能够尽量做到数据库无关,当后台数据库发生变更的时候,不需要更改客户端的代码

    标签: 设计模式 数据库 底层 应用程序

    上传时间: 2014-12-06

    上传用户:Yukiseop

  • Application Note Abstract This Application Note introduces a complete and detailed PSoC® project

    Application Note Abstract This Application Note introduces a complete and detailed PSoC® project. Telephone Call Logger keeps the detailed record of approximately 945 phone calls (7-digit number is assumed to be one phone call) including date, start time and the duration of the phone call in the PSoC device. Users can get this detailed report into the PC environment by using free software, which is included in the project file. When records reach near full capacity of the Flash memory, an LED will turn on to show that it is necessary to backup the data. Software gets the data from PSoC, organizes it and prepares a printable version. Additionally, it sends the date and time information to the PSoC. The external parts in this project can be obtained easily in the market.

    标签: Application Note introduces Abstract

    上传时间: 2014-01-01

    上传用户:集美慧

  • 博客管理系统。安装说明: 1、在SQLSERVER中创建blog数据库并创建登陆帐号blog:blog

    博客管理系统。安装说明: 1、在SQLSERVER中创建blog数据库并创建登陆帐号blog:blog,然后在SQL Server查询分析器中运行doc目录下db.sql创建所有表; 2、将工程导入Eclipse; 3、部署工程; 4、运行tomcat; 5、进入tomcat管理web后台, 在Tomcat->Service->Host->Context(blog)->Resources->Data Sources中添加 Data Source URL: jdbc:jtds:sqlserver://${dbhost}:1433 DatabaseName=blog JDBC Driver Class: net.sourceforge.jtds.jdbc.Driver User Name: blog Password: blog 6、done!

    标签: blog SQLSERVER 博客 管理系统

    上传时间: 2013-12-14

    上传用户:虫虫虫虫虫虫

  • 原始数据以Kiwi格式存储在GTBL.dat的二进制文件中

    原始数据以Kiwi格式存储在GTBL.dat的二进制文件中,具体的文件格式请参照ReveseTableFormat.xls 中的“逆引表格式”sheet.-this procedure is the function of the navigation data of the road data collation, analysis. Kiwi to the original data stored in the format of the binary file GTBL.dat, specific file format ReveseTableFormat.xls Please refer to the "reverse primer format" sheet.

    标签: Kiwi GTBL dat 数据

    上传时间: 2014-11-26

    上传用户:qweqweqwe