Serial data receiving and transmitting in DMA cycle mode of HAL library version

At https://my.oschina.net/machinor/blog/3162697 First, set up the serial port to receive and send data through the serial port. In the HAL library generated by STM32CubeMX, there are three types of serial data receiving and transmitting interfaces, namely blocking mode, non blocking mode and DMA mode. The text mainly analyzes DMA mode and propo ...

Added by PABobo on Sun, 02 Feb 2020 18:56:58 +0200

Getting started with MyBatis to customize the MyBatis framework

First MyBatis program (XML configuration) In the previous article, I briefly summarized some limitations of native JDBC, and introduced the MyBatis framework. I sorted out how to build the working environment of MyBatis in detail In this article, we start our first routine on the basis of setting up ...

Added by Talguy on Sun, 02 Feb 2020 12:00:51 +0200

06 - Query - many to one, one to many (based on springboot2.0.3 + MySQL 5.7)

Reprint please indicate Original: https://me.csdn.net/jxysgzs 1, Necessary foreword In this article, we will talk about many to one and one to many queries in the query. The usage method in spring datajpa is very simple. It only needs one annotation to use. I believe you can understand it easily. Th ...

Added by kristianblom on Sat, 01 Feb 2020 13:15:39 +0200

offsetWidth, clientWidth, innerWidth and related attribute methods in javascript

A series of properties and methods in js, such as offsetWidth, clientWidth and scrollWidth, are always confused. Here is a summary of the usage and meaning of these methods. Note: the following element attributes and element methods are used in the way of elem. Attribute or elem. Method, window attribute is used in the way of ...

Added by dwardio on Sat, 01 Feb 2020 01:10:31 +0200

JavaScript object, wrapper class

object To add, delete, and modify the properties of an object: Add: mrdeng.wire = "xiaoliu" write directly. . property = Delete: delete mrDeng.name will delete the name directly Change: mrdeng.wire = "xiaoliu", change the attributes in double quotation marks Query: console.lgo (mrDeng. Attribute); ...

Added by Grimloch on Fri, 31 Jan 2020 22:38:22 +0200

C3 version of seamless rolling animation

Today, I learned custom animation and made a small case. Before writing a case, I need to know the following knowledge points: 1. Difference between custom animation and transition Animation: Custom animation does not need to be triggered, transition animation needs to be triggered 2. Important attributes of transition Anima ...

Added by jhuaraya on Fri, 31 Jan 2020 11:20:52 +0200

Java Web knowledge point database MYSQL&DDL&DML&DQL&DCL

data base Basic concepts of database English words of DataBase: DataBase abbreviation: DB What is a database? Warehouse for storing and managing data Characteristics of database 1. Persistent data storage, in fact, the database is a file system 2. Easy to store, manage and operate data 3. A unified ...

Added by the_lynx123 on Thu, 30 Jan 2020 15:33:16 +0200

Official DGL tutorial - Transformer tutorial

Note: Click here to download the full example code Transformer tutorial Author: Zihao Ye, Jinjing Zhou, Qipeng Guo, Quan Gan, Zheng Zhang In this tutorial, you will learn a simplified implementation of the Transformer model. You can see the highlights of the most important design points. For example, ...

Added by arhunter on Tue, 28 Jan 2020 11:37:02 +0200

vue I. basic use of vue, v-instruction, life cycle, template component template, watch data monitoring

vue official api tutorial: https://cn.vuejs.org/v2/guide/ vue official api document: https://cn.vuejs.org/v2/api/#watch 1, Download the vue special development tool HbuilderX (you can also use other) Just download and install HbuilderX Download: https://www.dcloud.io/hbuilderx.html 2, The first exam ...

Added by cnperry on Mon, 27 Jan 2020 07:24:30 +0200

Reading the source code of mybatis: initialization of mybatis

Reprinted from Reading the source code of mybatis (2): initialization of mybatis 1. Initialization entry //Mybatis obtains SqlSession through SqlSessionFactory, and then can interact with the database through SqlSession private static SqlSessionFactory getSessionFactory() { SqlSessionFactory se ...

Added by Pioden on Mon, 27 Jan 2020 07:10:47 +0200