Process priority and LAMP project deployment practice

1. Process priority (extended) 1. What is the priority of a process Linux is a multi-user, multi-tasking operating system, and there are usually many processes running in the system. Which processes run first and which processes run later are controlled by process priority. Thinking: When do we need to use the priority of the process? […]

Use the HAL library to implement periodic flashing and interrupt mode programming of the running water lamp.

Use the HAL library to implement periodic flashing and interrupt mode programming of the running water lamp. Building development environment 1. Install jdk (you don’t need this step if you have a java environment) jdk official website download link: https://www.oracle.com/java/technologies/javase-downloads.html 2. Install STM32CubeMX download link: https://www.st.com/en/development-tools/stm32cubemx.html Installation process Run SetupSTM32CubeMX-4.27.0.exe as administrator and click Next […]

stm32f103c8 writes a flow lamp based on registers and standard peripheral libraries

stm32f103c8 writes a flow lamp based on registers and standard peripheral libraries 1. Register Directory **stm32f103c8 writes a flow lamp based on registers and standard peripheral libraries** **1.Register** **1.Create project** **2.Set hex file** **3.Write code** **4.Hardware connection** **5.Result** **2. Standard Peripheral Library** **1. Download the standard peripheral library and use it** **2. Programming** **3.Debugging** **4.Hardware […]

Week 7 Experiment 3–LED water lamp based on HAL library

Table of Contents Preface 1. Experimental tasks 2. Environment construction 3. HAL library implements running lights 1. Establish the project 2. Keil programming 3. Circuit connection 4. Burn and run ?edit 5. Observe the output waveform 4. Use interrupts to control the running water light switch 1. Establish the project 2. Code improvement 3. Connect […]

STM32 uses the HAL library to light up the water lamp

Table of Contents 1. Set up STM32 development environment (HAL library environment) 1. Install STM32CubeMX 1.1. Download STM32CubeMX: 1.2. Install STM32CubeMX: 2. Install jdk environment: 2.1. Download jdk environment: 2.2. Install jdk environment: 3. Configure STM32CubeMX: install HAL library 4. Download and installation of keil5: 2. Use the HAL library to create a new keil5 […]

Stm32f103c8t6 LED water lamp implemented based on stm32CubeMX and HAL library, and interrupt control of the working status of the water lamp

Table of Contents 1. stm32CubeMX environment construction 1.1 Install the Java environment (you need to install Java if it is not installed) 1.2 Install STM32CubeMX 2. Create a new project, configure the environment, and generate KEIL code 2.1 New construction 2.2 Pinout &Configuration (port configuration) 2.2.1 GPIO configuration 2.2.2 RCC configuration 2.2.3 SYS configuration 2.2.4 […]

LED flow lamp operation based on standard peripheral library

Experimental purpose: The main purpose of this experiment is to explore the control method of LED running lights and understand the use of the internal resources and peripheral libraries of the microcontroller. Through experiments, we hope to achieve the following goals: Master the programming method of LED running lights based on standard peripheral libraries; Learn […]

Use the standard peripheral library to implement the operation of stm32 quadruple water lamps

Install the standard peripheral library on keil First we need to go to ST’s official website to download the stm32mcu of our corresponding model The URL is as follows: Link: [link](https://www.st.com/zh/embedded-software/stm32-standard-peripheral-libraries.html After entering the official website, we click on the corresponding part number Do you see the F1 below? That’s what we are looking for. […]