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
標(biāo)簽: implementation implemented interactive Remainder
上傳時(shí)間: 2017-04-14
上傳用戶:lanwei
//芯片資料請(qǐng)到www.elecfans.com查找 //DS1820 C51 子程序//這里以11.0592M晶體為例,不同的晶體速度可能需要調(diào)整延時(shí)的時(shí)間//sbit DQ =P2^1;//根據(jù)實(shí)際情況定義端口 typedef unsigned char byte;typedef unsigned int word; //延時(shí)void delay(word useconds){ for(;useconds>0;useconds--);} //復(fù)位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 總線上讀取一個(gè)字節(jié)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 總線上寫(xiě)一個(gè)字節(jié)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;}
上傳時(shí)間: 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.
標(biāo)簽: introductory HelloWorld containing Directory
上傳時(shí)間: 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
標(biāo)簽: input Dividend Quotient verilog
上傳時(shí)間: 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.
標(biāo)簽: Spread-Spectrum Communication Systems 3rd
上傳時(shí)間: 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.
標(biāo)簽: RFID_Security_and_Privacy_Concept
上傳時(shí)間: 2020-06-08
上傳用戶:shancjb
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1