Program design of temperature value display of DS18B20
I Characteristics of DS1820 single line digital thermometer
• unique single line interface requires only one port pin for communication • simple multipoint distribution applications • no external components required • power supply via data line • zero standby powe ...
Added by ev5unleash on Fri, 04 Mar 2022 00:47:51 +0200
Concept of signal
Signaling is a way of asynchronous notification of events between processes, which belongs to soft interrupt
Generate a signal to the process through the terminal keyboard. If the process can terminate the program by pressing "ctrl + c" when running, it is actually sending ...
Added by noiseusse on Thu, 03 Mar 2022 16:32:48 +0200
After the outbreak of an epidemic in a certain place, we want to inform all residents who have recently passed through the high-risk area to participate in nucleic acid testing in accordance with the principle of "testing as much as possible".
In order to find out the re ...
Added by Death_Octimus on Thu, 03 Mar 2022 08:22:13 +0200
After we have learned the type of pointer, we think about how to apply it.
Let's look at the code last time
printf("******* 2.Sub ************\n");
Added by OnePlus on Wed, 02 Mar 2022 12:57:30 +0200
1, The first driver under Linux
The drive is divided into four parts: Header file Inlet and outlet of drive module Declaration information Function realization The first step includes the header file 1 #include<linux/init. h> Header file containing macro definition 2 #include<linux/module. h> Header file containing initialization l ...
Added by Craig79 on Wed, 02 Mar 2022 12:25:02 +0200
1. What is a bug?
The moth that was found to cause a computer error for the first time is also the first computer program error.
2. What is debugging? How important is it?
Everything that happens must have traces to follow. If there is a clear conscience, there is no need to cover up and there are no signs. If there is a guilty consc ...
1, Experiment Name: Huffman Coding
2, Purpose of the experiment:
Master the structure of Huffman tree;It can realize the basic operations of Huffman tree, such as construction, insertion, etcThe minimum heap is used to reduce the time complexity of Huffman tree.Master the data structure of the minimum heap and the characteristics of the struc ...
Added by Operandi on Wed, 02 Mar 2022 08:31:27 +0200
Rules of the game
Game creation ideas
1. Design of game menu page
2. Chessboard initialization
3. Chessboard printing
4. Players play chess
5. Computer chess
6. Judgment of victory and defeat
As the "big guys" on the road for the first time, they have learned the element ...
Added by wrathyimp on Wed, 02 Mar 2022 06:22:43 +0200
1, Experimental purpose
1.1 understand the concepts of process control block and process queue. 1.2 master the processing logic of process priority scheduling algorithm and time slice rotation scheduling algorithm.
2, Experimental content
2.1 design the structure of process control block PCB, which is applica ...
Added by graham on Wed, 02 Mar 2022 04:39:17 +0200