Embedded foundation -- pattern matching of parsing string

Following the last article, the author introduces a simpler parsing tool, sscanf. warm-up When you are in C language class and doing c language course design or experiment, you should often contact printf and scanf. The former prints characters to standard output, while the latter reads and parses strings from standard input. sscanf is simil ...

Added by jerryroy on Sun, 02 Jan 2022 16:06:15 +0200

linux MISC driver experiment

MISC means mixed and miscellaneous, so MISC driver is also called miscellaneous driver, that is, when we have a driver on the board When some peripherals cannot be classified, MISC driver can be used. MISC driver is actually the simplest character device driver. It is usually nested in platform bus driver to realize complex driver 1, Int ...

Added by Pantho on Sun, 02 Jan 2022 02:34:38 +0200

On time atom Lora module tutorial based on stm32

First met LoRa In short, LoRa is a low-power remote wireless communication technology. It is a wireless data transmission module developed based on SX1276/1278 chip of Semtech company. This chip has small integration scale and high efficiency, so that LoRa module has high receiving sensitivity. So what are its advantages over our commonly ...

Added by excessnet on Sat, 01 Jan 2022 11:20:26 +0200

11 51 single chip microcomputer-LCD1602 display screen

4.11 LCD1602 display screen 4.11.1 introduction to schematic diagram Figure 4-11-1 Figure 4-11-2 According to the schematic diagram: The data pin of LCD1602 is connected to port P0. RD(RS) pin is connected to P2 six WR(RW) pin is connected to P2 five LCDE(E) pin is connected to P2 seven 4.11.2 introduction to LCD1602 character scre ...

Added by skalooky on Fri, 31 Dec 2021 23:26:36 +0200

STM32CubeMX(05) transplants DMP Library of gyroscope MPU6050 to read triaxial angle and acceleration

preface Today, let's learn the gyroscope mpu6050, and use the DMP Library of mpu6050 to read the three-axis angle and acceleration. What is the DMP library, that is, the built-in digital motion processing (DMP) engine can reduce the load of MCU complex fusion calculus data, sensor synchronization, attitude and potential sensing, etc. I ...

Added by besbajah on Sun, 26 Dec 2021 05:44:56 +0200

Install raspberry pie 4B for Ubuntu mate20.0 04

Equipment to be prepared:   Raspberry pie 4B (here I choose the 8G memory version) Keyboard and mouse (there must be a keyboard, and the mouse can be used after Ubuntu Mate is installed) Monitor (HDMI screen is recommended here, I use https://www.waveshare.net/wiki/7inch_HDMI_LCD_(C) (screen below) 16G/32G SD card (32G is recommended because ...

Added by JohnnyBlaze on Sat, 25 Dec 2021 21:33:21 +0200

The simplest DIY Bluetooth smart car design scheme based on STM32 single chip microcomputer

STM32 library function development series article directory Part I: program design and implementation of STM32F103ZET6 single chip microcomputer dual serial port mutual transmission Part II: the simplest DIY Bluetooth smart car design scheme based on STM32 single chip microcomputer preface The simplest original core technology of t ...

Added by pbaker on Sat, 25 Dec 2021 20:54:27 +0200

STM32 Cubemax -- Ultrasonic Ranging using input acquisition interrupt

Stm32 cubemax (IX) -- Ultrasonic Ranging Using acquisition interrupt preface Because we want to realize Kalman filter, we first write about ultrasound this time and review the input acquisition interrupt by the way. 1, Principle of ultrasonic module Anyone who has searched the ultrasonic module on the Internet is no stranger to this ...

Added by potato on Sat, 25 Dec 2021 15:30:25 +0200

GEC6818 milk tea system of Deadline in primary school

effect As shown in the figure: technological process User login - > function selection - > corresponding function thinking For the use of the whole software, the acquisition of touch screen coordinate points is indispensable, so we open a separate thread to obtain touch screen coordinate points and run from beginning to end ...

Added by m3rajk on Sat, 25 Dec 2021 12:22:17 +0200

Oneos Lite code learning: task scheduling and interrupt switch

Task scheduling switchThe following codes are in /oneos-kernel/source/os_sched.cInitialization of scheduling:k_ sched_ init->_ k_ readq_ bmap_ Init: the priority bitmap is 0 and the priority linked list array is initialized here.Start kernel scheduling:k_start->os_first_task_start-Turn off task scheduling:void os_schedule_lock(void) { ...

Added by jbalanski on Fri, 24 Dec 2021 16:39:10 +0200