Comprehensive Guide to C Language Basics

Comprehensive Guide to C Language Basics

Entering the School of Information Engineering, accompanied by “Internet +”, we embark on a new era of information development!   Understanding the Structure of C Language Programs We will introduce the basic components, format, and good writing style of C language using a simple C program example to deepen everyone’s understanding of C language. Example 1: … Read more

Why Can’t You Do Projects After Learning Microcontrollers for So Long?

Why Can't You Do Projects After Learning Microcontrollers for So Long?

You may have been studying for a long time, but when your leader throws an STM32 project at you, are you still at a loss? A friend of mine started learning the 51 microcontroller and later switched to STM32. He mainly learned by following online courses, typing code along the way. He went through various … Read more

Embedded Microcontroller Teaching (Part One)

01 Introduction Hello everyone~ Long time no see. From the title, you should know that I, the novice, am about to start a new series of tutorials for everyone. Some might say my topics are quite broad, from ROS to neural networks and now to embedded teaching. Actually, these are just some knowledge I’ve learned … Read more

Keil 5 MDK Software Installation Tutorial

Keil 5 MDK Software Installation Tutorial

【Software Name】: Keil 5 MDK Version 【Installation Environment】: Windows 【Download Link 】: https://pan.baidu.com/s/1KLT-Zs-MMSy5qpuMWd4Mkw 【Extraction Code】: n938 【Friendly Reminder】: If you have any issues, please consult in the software installation group:1060785581 Note:If the link is invalid, please get the latest link in the group. Software Introduction Keil uVision is a professional and practical C language software … Read more

Detailed Explanation of Mathematical Functions in C++

C++ provides some basic mathematical functions, and the header file required is <math.h>. Trigonometric Functions Method Description cos(x) Calculates the cosine of x. sin(x) Calculates the sine of x. tan(x) Calculates the tangent of x. acos(x) Calculates the arccosine of x. asin(x) Calculates the arcsine of x. atan(x) Calculates the arctangent of x. atan2(x,y) Calculates … Read more

Design Method for C Language Startup Code of RISC-V Processor

Design Method for C Language Startup Code of RISC-V Processor

As competition in the microprocessor market intensifies, the RISC-V instruction set has garnered increasing attention. Although RISC-V is not the first open-source Instruction Set Architecture (ISA), it is the first ISA that allows flexible selection of instruction sets based on actual application scenarios. The RISC-V architecture can accommodate all application scenarios, from high-performance server CPUs … Read more

Introduction to C Language Programming

Introduction to C Language Programming

C language is a computer programming language. It has characteristics of both high-level languages and assembly languages. As a system design language, it can be used to write system application programs, and it can also be used as an application programming language to write applications that do not depend on computer hardware. Therefore, its application … Read more

Daily C Language Practice: Mastering Programming Basics with 4 Types of Questions (7)

Daily C Language Practice: Mastering Programming Basics with 4 Types of Questions (7)

1. Multiple Choice Questions Which of the following statements about variables in C language is correct? ( )A. Variable names must start with a digitB. Variable names can contain special charactersC. Variable names must start with a letter or underscoreD. There is no limit to the length of variable namesAnswer: CExplanation: In C language, variable … Read more

Understanding C Language Rules to Avoid Code Issues

Understanding C Language Rules to Avoid Code Issues

We have a product that requires LED lights to flash in sync. The area controller (in an STM32 microcontroller environment) sends wireless signals based on GPS signals to control the start time of the light flashes, achieving synchronization. A colleague implemented a function to send wireless signals, similar to the following: int RS232_lora_sendAlignInfo(void){ uint8_t send_buf[] … Read more

Daily Learning | Basic Training in C Language

Daily Learning | Basic Training in C Language

Question: Find the prime numbers within 100 NEXT Answer: #include<stdio.h> #include<math.h> int main() { int i,j,k,n=0; for(i=2;i<=100;i++) { k=(int)sqrt(i); for(j=2;j<=k;j++) if(i%j==0) break; if(j>k) { printf(“%d “,i); n++; if(n%5==0) printf(“\n”); } } return 0; } THE END Sunday, August 31, 2025 Study hard, improve every day Text and Images | Source from the Academy Editor | … Read more