[application example of STM32+OLED screen display]

1, Related technology . 1.1 about SPI protocol SPI protocol is a communication protocol (Serial Peripheral Interface) proposed by Motorola, that is, serial peripheral The standby interface is a high-speed full duplex communication bus. It is widely used between ADC, LCD and MCU, Occasions requiring high communication rate. SPI physical layer S ...

Posted by cdickson on Fri, 26 Nov 2021 19:45:40 -0800

[AutoTinyPng] compress the picture from the programmer's point of view

Dear, Hello, I'm "front-end Xiaoxin", 😇 He has been engaged in front-end development and Android development for a long time, is keen on technology, and goes farther and farther on the road of programmingpreface:It's strange to say that there are some "pseudo programmers" in many technical communication groups. For example, ...

Posted by keeps21 on Fri, 26 Nov 2021 19:08:35 -0800

stm32103C8T6 realizes the acquisition of temperature and humidity (AHT20) through I2C interface

1, I2C bus protocol 1.1 what is the I2C protocol I2C communication protocol (Inter Integrated Circuit) is developed by Phiilps company. Due to its few pins, simple hardware implementation and strong scalability, it does not need external transceiver equipment of USART, CAN and other communication protocols. Now it is widely used in the co ...

Posted by bpopp on Fri, 26 Nov 2021 18:52:58 -0800

Single linked table 1 (data structure)

Single linked list 1. Definition of linked list Chain storage structure of linear table: the location of data elements (nodes) in linear table in memory is arbitrary, that is, logically adjacent data elements are not necessarily adjacent in physical location. Related terms: Nodes: storage images of data elements. It consists of data ...

Posted by kansaschuck on Fri, 26 Nov 2021 18:40:14 -0800

Finish the leetcode interview of large factory algorithm 8. Sliding window

Finish the leetcode interview of large factory algorithm 8. Sliding windowVideo tutorial (efficient learning): Click to learncatalog:1. Introduction2. Time and space complexity3. Dynamic planning4. Greed5. Binary search6. Depth first & breadth first7. Double pointer8. Sliding window9. Bit operation10. Recursion & divide and conquer11 Pr ...

Posted by eon201 on Fri, 26 Nov 2021 18:31:22 -0800

Detailed explanation of C language sorting algorithm 1 (bubbling, selection, insertion, merging, fast)

Article catalog         1. Bubble sorting         2. Select Sorting         3. Insert sort         4. Merge and sort         5. Quick sort   1, Bubble sorting Basic idea: In a group of numbers to be sorted, compare and adjust t ...

Posted by parena on Fri, 26 Nov 2021 18:28:22 -0800

Necessary for Architects: skillfully use Canal to realize asynchronous and decoupled architecture

This paper introduces how to use Canal to realize asynchronous and decoupled architecture. Later, I will write an article to analyze the principle and source code of Canal.Introduction to CanalCanal is a middleware used to obtain database changes.Disguise yourself as a MySQL slave database, pull the main database binlog, analyze and process it. ...

Posted by tinker on Fri, 26 Nov 2021 18:27:04 -0800

Strange upgrade - 8. String to integer (atoi)

Title Description Please realize one   myAtoi(string s)   Function to convert a string into a 32-bit signed integer (similar to the atoi function in C/C + +). ​ function   The algorithm of myAtoi(string s) is as follows: ​ Read in the string and discard useless leading spaces Check whether the next character (assuming it has n ...

Posted by AL123 on Fri, 26 Nov 2021 18:20:30 -0800

Wen Zhixin Chapter 6

Introduction to Express Node (official name: Node.js) is an open source, cross platform runtime environment. With it, developers can use JavaScript to create various server-side tools and applications. This runtime is mainly used outside the browser context (that is, it can run directly on the computer or server operating system). Accor ...

Posted by Froy on Fri, 26 Nov 2021 18:19:39 -0800

Day461. Addition, deletion and modification of data processing - mysql

Addition, deletion and modification of data processing 1, Insert data 1.1 practical problems Solution: use the INSERT statement to INSERT data into the table. 1.2 mode 1: add VALUES Using this syntax, only one piece of data can be inserted into the table at a time. Case 1: insert data in the default order for all fields of the table ...

Posted by phpdev12 on Fri, 26 Nov 2021 18:12:50 -0800