File operation (file pointer + detailed explanation of sequential read-write function)
1, Documents
What is a file:
Files on disk are files
1. Classified by file function:
Procedure documents:
Source program file test.c object file test.obj executable program test.exe
Data file:
The content of the file is not necessarily the program, but the data read and written when the program runs, such as the file from which the ...
Posted by dujed on Mon, 27 Sep 2021 02:22:28 -0700
The firmware library is used to control the GPIO output high and low levels of STM32F103 to realize the on and off of LED lights
When writing the structure of LED lamp, you need to set the clock of GPIO port, input and output mode and high and low levels of GPIO pin. Next, we will introduce how to configure each structure
Introduction to GPIO General purpose input / output is referred to as GPIO for short. STM32F103VET6 has 80 gpios in total. These IO pins are divided i ...
Posted by ldoozer on Sun, 26 Sep 2021 22:38:53 -0700
STM32F407ZG cubemx+SDIO+ DMA+FATFS +FreeRtos usage record
cubemx+SDIO+ DMA+FATFS +FreeRtos (usage record)
preface
After three weeks, I finally got out the sd card read-write test This is mainly based on the blogger's tutorial
Copyright notice: This article is the original article of CSDN blogger "zl199203", which follows the CC 4.0 BY-SA copyright agreement. Please attach the original ...
Posted by Huijari on Sat, 25 Sep 2021 22:55:43 -0700
How to use STM32, Devon serial port screen and WIFI module for data interaction
Introduction: This paper will introduce how to realize the real-time display of temperature, humidity and illuminance data collection on the screen and App, and control the GPIO port level reversal through the control screen and App to show you the data interaction between STM32, Devon serial port screen and Wi Fi module.
Program download path ...
Posted by deadimp on Fri, 24 Sep 2021 04:32:44 -0700
Semaphore of FreeRTOS
1, Semaphore introduction
Semaphores are an important part of the operating system. Semaphores are generally used for resource management and task synchronization. Semaphores in FreeRTOS are divided into binary semaphores, counting semaphores, mutually exclusive semaphores and recursive mutually exclusive semaphores. Different semaphores have ...
Posted by rvpals on Wed, 22 Sep 2021 23:23:07 -0700
[punctual atom linux serial] Chapter 54 platform device driver experiment - extracted from [punctual atom] I.MX6U embedded Linux Driver Development Guide V1.0
1) Experimental platform: punctual atom alpha Linux development board 2) Platform purchase address: https://item.taobao.com/item.htm?id=603672744434 2) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-300792-1-1.html 3) Students interested in punctual atomic Linux can add group discussion: 93 ...
Posted by kidintraffic on Tue, 21 Sep 2021 23:55:12 -0700
Application of gcc compile option pg in embedded profile
Application of gcc compile option pg in embedded profile
Problem introduction
First of all, this paper mainly describes how to use the - pg compilation option of gcc to implement some function level profile s, code coverage tests and even trace functions in the embedded bare metal or RTOS system environment. About this compilation option GCC ...
Posted by dc_jt on Tue, 21 Sep 2021 15:53:20 -0700
Longqiu MPU9250 module interface
Introduction: The adapter interface of MPU9250 is made, and the steering gear is used to drive the rotation measurement module to measure the angle. Key words: MPU9250, ESP32
§ 01 module interface
In blog Longqiu MPU9250 sensor is tested with ESP32 module ESP32 is used in the preliminary test of MPU9250. In order to fa ...
Posted by Monk3h on Tue, 21 Sep 2021 04:31:50 -0700
[digital signal] GUI based multi tone dual frequency (DTMF) dialing audio decoding simulation system [matlab phase 1084]
1, Introduction to DTMF
1 meaning Dual Tone Multi Frequency DTMF (Dual Tone Multi Frequency) is composed of high-frequency group and low-frequency group, and the high-frequency group and low-frequency group each contain four frequencies. A high-frequency signal and a low-frequency signal are superimposed to form a combined signal, representing ...
Posted by moniphp on Mon, 20 Sep 2021 23:56:58 -0700
BSP engineering management experiment
BSP engineering management experiment
We must manage the project files and put the source files of different functions in different directories. In addition, we also need to extract all the code that completes the same function in the source file and put it in a separate file, that is, the program is managed by function.
Create a new folder n ...
Posted by ouch! on Mon, 20 Sep 2021 00:27:21 -0700