Driver development note 4 - serial port filtering

The filtering of serial port is very simple and has little significance in security development. It is only used as learning to lay the foundation for later keyboard filtering and file system filtering. Serial port Serial port is a device in Windows. It is relatively simple and has a fixed name. The first serial port is named "\ Devi ...

Posted by LuckyLucy on Wed, 27 Oct 2021 07:35:52 -0700

Design of temperature and humidity display in cabin based on STM32

Design of temperature and humidity display in cabin based on STM32 This design uses the STM32F103ZET6 elite development board of punctual atom. Data acquisition: the temperature and humidity sensor uses DHT11 to collect humidity and DS18B20 to collect temperature. Display: the display part is divided into TFT-LCD display and upper computer Lab ...

Posted by Yegg on Wed, 27 Oct 2021 07:19:03 -0700

Java programming

4, Object oriented (I) 1. What is the difference between object and object reference? Please give an example public class FighterPlane{ public FighterPlane{ } } FighterPlane fp = new FighterPlane(); 1.new creates an Example object in heap space 2. () refers to calling the default constructor 3. Fighter plane FP creates class refe ...

Posted by jonasr on Wed, 27 Oct 2021 07:12:03 -0700

Data elimination strategy lfu of redis

Because the elimination strategy of lru of redis focuses on the access time of keys. If it is a one-time key traversal operation, many keys that are not being accessed will remain in memory and the data that needs to be accessed immediately will be eliminated. Therefore, lfu is introduced into redis 4.0.0. lfu is optimized on the basis of lru, ...

Posted by Foser on Wed, 27 Oct 2021 07:03:49 -0700

The basis of artificial intelligence - the expansion of search tree and n queen problem

Greedy Algorithm Algorithm principle Greedy algorithm also belongs to A heuristic algorithm. Greedy algorithm never pays attention to the whole, but always selects the optimal solution based on the current state. Greedy can be regarded as A special case of A * In the previous blog, we already know that the comprehensive priority of A * algo ...

Posted by dopey on Wed, 27 Oct 2021 05:57:03 -0700

Detailed explanation of Vue Foundation

1.1 concept (based on vue2) 1.2 vue/cli scaffold 1.2.1 create project startup service 1.2.2 explanation of project directory (can be omitted) 1.2.3 custom configuration 1.2.4 eslint 1.2.5 single vue document 1.3 interpolation expression 1.4 MVVM design pattern 1.5 Vue instruction (key points, remember with a small book) 1.5.1 concep ...

Posted by thinsoldier on Wed, 27 Oct 2021 05:53:46 -0700

Problem solving of ACM freshmen in Jiangzhong on October 26

catalogue Question 1: small ball free fall Question 2: Super Mary game Question 3: the algorithm improves the solution of binary linear equations Question 4: number of daffodils Question 5: C language - monkeys eat peaches Question 6: hollowed out triangle Question 7: find the greatest common divisor in exercise 2-4-7 Question 8: Che Sh ...

Posted by saeed_violinist on Wed, 27 Oct 2021 05:12:50 -0700

day13 package and file operations

Principle of import module 1. Introduction principle When the code is executed to the import module, the system will automatically enter the specified module and execute all the codes in the module; If the same module is imported multiple times in the same program, the corresponding code will be executed only once. # import test # import tes ...

Posted by twooton on Wed, 27 Oct 2021 05:05:45 -0700

Practical combat of user portrait project based on spark

  Refer to the video tutorial:     **Big data dmp user Portrait System   ** Transferred from Qianfeng Teacher Wang Su 1. Introduction to user portrait project 1.1 what is user portrait The so-called user portrait is to label the user and explain what kind of person the user is. Specifically, after putting some labels on us ...

Posted by apsomum on Wed, 27 Oct 2021 04:51:05 -0700

Java 07 package visibility modifier accessor method

1 Pack 1.1 declaration of package Declaration of first level formal package: package pkg; For example, create a package named myPackage package myPackage; Rule: the directory name must strictly match the package name, as follows: In fact, the package will include many files, as follows: Declaration of multi-level package: package ...

Posted by justintoo1 on Wed, 27 Oct 2021 04:44:34 -0700