Chinese Remainder theorem implementation. Its done in php. Its implemented with interactive gui.index.php contain all the code.Rest folders contain the css images and js scripts that enhance the gui
标签: implementation implemented interactive Remainder
上传时间: 2017-04-14
上传用户:lanwei
//芯片资料请到www.elecfans.com查找 //DS1820 C51 子程序//这里以11.0592M晶体为例,不同的晶体速度可能需要调整延时的时间//sbit DQ =P2^1;//根据实际情况定义端口 typedef unsigned char byte;typedef unsigned int word; //延时void delay(word useconds){ for(;useconds>0;useconds--);} //复位byte ow_reset(void){ byte presence; DQ = 0; //pull DQ line low delay(29); // leave it low for 480us DQ = 1; // allow line to return high delay(3); // wait for presence presence = DQ; // get presence signal delay(25); // wait for end of timeslot return(presence); // presence signal returned} // 0=presence, 1 = no part //从 1-wire 总线上读取一个字节byte read_byte(void){ byte i; byte value = 0; for (i=8;i>0;i--) { value>>=1; DQ = 0; // pull DQ low to start timeslot DQ = 1; // then return high delay(1); //for (i=0; i<3; i++); if(DQ)value|=0x80; delay(6); // wait for rest of timeslot } return(value);} //向 1-WIRE 总线上写一个字节void write_byte(char val){ byte i; for (i=8; i>0; i--) // writes byte, one bit at a time { DQ = 0; // pull DQ low to start timeslot DQ = val&0x01; delay(5); // hold value for Remainder of timeslot DQ = 1; val=val/2; } delay(5);} //读取温度char Read_Temperature(void){ union{ byte c[2]; int x; }temp; ow_reset(); write_byte(0xCC); // Skip ROM write_byte(0xBE); // Read Scratch Pad temp.c[1]=read_byte(); temp.c[0]=read_byte(); ow_reset(); write_byte(0xCC); //Skip ROM write_byte(0x44); // Start Conversion return temp.x/2;}
上传时间: 2013-11-03
上传用户:hongmo
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the Remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
标签: introductory HelloWorld containing Directory
上传时间: 2016-03-29
上传用户:exxxds
verilog code radix-2 SRT divider input [7:0]Dividend input [3:0]Divisor output [4:0]Quotient output [8:0]Remainder
标签: input Dividend Quotient verilog
上传时间: 2014-11-27
上传用户:三人用菜
The continuing vitality of spread-spectrum communication systems and the devel- opment of new mathematical methods for their analysis provided the motivation to undertake this new edition of the book. This edition is intended to enable readers to understand the current state-of-the-art in this field. Almost twenty percent of the materialinthiseditionisnew, includingseveralnewsections, anewchapteronadap- tive arrays and filters, and a new chapter on code-division multiple-access networks. The Remainder of the material has been thoroughly revised, and I have removed a considerable amount of material that has been superseded by more definitive results.
标签: Spread-Spectrum Communication Systems 3rd
上传时间: 2020-06-01
上传用户:shancjb
In the first chapter, the topic of this book is classified into the area of pervasive com- puting. Further, security and privacy in the scope of RFID technology is motivated and the vision that guides the Remainder of this book is introduced.
标签: RFID_Security_and_Privacy_Concept
上传时间: 2020-06-08
上传用户:shancjb