The Modbus slave of STM32F4 communicates with the master through RTU.
The experiment was done in April in the first half of the year, but it was not posted online before. The specific project has been delivered to Github, and we need to take it by ourselves.
Link at the end of the article. If you have any help, please like it. Also welcome to reprint it. Just indicate th ...
Added by pmaiorana on Mon, 28 Oct 2019 07:10:29 +0200
3D game programming: model and animation
1. Intelligent patrol
Submission requirements:
Game design requirements:
Create a map and several patrols (using animation);
Each patrol takes a convex multilateral form with 3-5 sides, and the location data is the relative address. That is to say, each time the next target position is determined, it ...
Added by dhrosti on Sat, 26 Oct 2019 07:20:32 +0300
How to visualize the dependency of Go Module
This paper First appeared in My blog , if you think it's useful, please like the collection and let more friends see it.
Recently, I developed a very simple tool, the total code is less than 200 lines. Today, briefly introduce it. What tool is this? It is a tool for visualizing Go Module dependencies.
Why development
Why do you want to develop ...
Added by altexis on Wed, 23 Oct 2019 09:06:16 +0300
args and **kwargs in Python
http://book.pythontips.com/en/latest/args_and_kwargs.html
https://stackoverflow.com/questions/3394835/use-of-args-and-kwargs
Many new Python users will be confused about the source code of github and python standard library as well as various * args and **kwargs in the online examples. Here's an explanation.
First of all:
*Args and * * kwar ...
Added by sobbayi on Wed, 23 Oct 2019 05:42:04 +0300
Node.js Async function best practices
From Node.js7.6, Node.js is equipped with V8 engine with async function. When Node.js 8 became the LTS version on October 31, there was no reason not to use the async function. Next, I will briefly introduce the async function and how to change the way we write the Node.js application.
What is async function
The async function allows you to wri ...
Added by ramram on Fri, 18 Oct 2019 12:19:31 +0300
Threejs in autonomy driving - advanced effects can be written without shader s
In order to achieve colorful effects in openGL or webGL, shader s must be used. Shaders need to be written in GLSL language, which is very professional and has a high threshold. We can achieve the same goal by tapping potential internally.
As we can see in the documentation of Threejs, CanvasTexture With this technology, we can use a canvas as ...
Added by djtozz on Thu, 17 Oct 2019 18:56:20 +0300
Java description design pattern (14): Interpreter pattern
Source code: GitHub point here || GitEE point here
I. interpreter mode
1. Basic concept
Interpreter mode is the behavior mode of an object. Given a language, the Interpreter pattern can define a representation of its grammar and provide an interpreter at the same time. The client can use this interpreter to interpret expressions in this langu ...
Added by xardas on Thu, 17 Oct 2019 16:50:00 +0300
[source code interpretation] thoroughly understand the Events module
Preface
Why write this article?
Remember clearly that I just got a job at node and talked to the interviewer about the event cycle. Then the interviewer asked how the event happened. Under what circumstances is an event...
In which scenarios have Events been applied?
Before that, it encapsulated an open source network request framework of RxJa ...
Added by mauri_gato on Thu, 17 Oct 2019 05:08:56 +0300
Pair programming (java implementation)
Author: Xie Weijie 3117004673
I. Github project address: https://github.com/jack-xie460/mytest.git
II. PSP form
PSP2.1
Personal Software Process Stages
Estimated time (minutes)
Actual time (minutes)
Planning
plan
· Estimate
·Estimate how long this task will take
...
Added by craigerjs on Thu, 17 Oct 2019 00:36:02 +0300
Serial DMA of STM32 receives indefinite length data
Introduction
When using stm32 or other single-chip computers, serial communication is often used, so how to effectively receive data? If this data is indefinite, how can it be received efficiently?
Classmate A: when the data comes, it will enter into the serial port and interrupt. Just read the data in the interrupt!Interrupt is to interrupt th ...
Added by bobbyM on Wed, 16 Oct 2019 22:40:37 +0300