[Embedded project application]__UART custom communication protocol code implementation method

Table of Contents Preface 1. What is a communication protocol? 2. Problems with simple communication protocols 3. Common contents of communication protocols 1. Frame header 2. Device address/type 3. Command/Instruction 4. Command type/function code 5. Data length 6. Data 7.End of frame 8. Check code 4. Communication protocol code implementation 1. Sending message data a. […]

[Interrupt mechanism in embedded systems]

In the development of embedded systems, interrupts are a very important knowledge point. In most application products built with microcontrollers, functions are basically implemented in a front-end and background way (large loop plus interrupt), and the application is processed in the main loop. And handle external trigger signals in interrupts, as well as applications that […]

[Embedded project application] __The embedded framework “Zorb Framework” used to build debugging output and establish time systems

Table of Contents 1. What is Zorb? 2. Embedded environment construction 3. Debug output 4. Implement assertions 5. Establish a time system 6. Conclusion (* ̄︶ ̄)Creation is not easy! Looking forward to your likes, collections and comments. 1. What is Zorb? Zorb Framework is a lightweight embedded framework based on object-oriented ideas. The purpose of building […]

Embedded assignment ten (DMA-based serial communication)

Article Directory Table of Contents Article directory 1. Interruption method 1. Establish the project 2. Code writing 3. Operation effect 2. DMA method 1. Establish the project 2. Code writing 3. Operation effect Reference links: 1. Interruption method 1. Create project For new projects, please refer to: Embedded Assignment 8 (Use Cube to implement the […]

springboot embedded ftp server

A recent project requires an ftp server to be embedded in the project. After starting the project, you can use client tools such as Filezila to push files to the server ftp Introduce dependencies <dependency> <groupId>org.apache.ftpserver</groupId> <artifactId>ftpserver-core</artifactId> <version>1.1.1</version> </dependency> InitFtpServer Launcher of ftp service package com.ruoyi.web.controller.tool.ftp; import org.apache.ftpserver.FtpServer; import org.apache.ftpserver.ftplet.FtpException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import […]

Embedded System Application-Expansion 1 Code Hosting

Embedded system application-Expansion 1 code hosting Use gitee and git to host code Introduction to the university version of gitee Gitee project management covers the entire life cycle of R&D management, supports multiple development models such as waterfall, agile (Scrum, Kanban), and seamlessly integrates with code management, CI/CD, test management and other functions, while providing […]

H5 is embedded in Uniapp (H5 developed by uniapp), and jumps to the specified page of the APP in H5

Native H5 jump app method developed by uniapp: 1. Use web-view to embed the H5 page in the APP and use the web-view component to implement it <template> <view> <web-view src=”//i2.wp.com/uniapp.dcloud.net.cn/component/web-view.html”></web-view> </view> </template> 2. Introduce webview.js into H5 project <!– You need to download uni.webview.1.5.4.js to your own server –> Import the SDK of web-view […]