Detailed Explanation of Keil MDK Compiler Warnings and Errors

Detailed Explanation of Keil MDK Compiler Warnings and Errors

After working with microcontrollers, I transitioned to ARM and initially used the ADS 1.2 compiler. I used it for a while because the old program of the project I took over was compiled with ADS, and most of the department was using it. When learning about microcontrollers, I used the Keil C51 compiler, and the … Read more

Understanding Programming Errors in C Language

Understanding Programming Errors in C Language

Errors are problems or faults that occur in a program, causing abnormal behavior, and even experienced developers can encounter these errors. Programming errors are also referred to as bugs or faults, and the process of eliminating these errors is called debugging. These errors are detected during compilation or execution. Therefore, errors must be removed from … Read more

Common Errors in C Programming: A Summary

Common Errors in C Programming: A Summary

When looking at a program with errors, it can be difficult to know how to fix it. Through my studies of C, I have compiled a list of common mistakes made during C programming for reference. 1. Ignoring the case sensitivity of identifiers. main() { int a=5; printf(“%d”,A); } The compiler treats ‘a’ and ‘A’ … Read more

Common Errors in C Language Programming: Confusions for Beginners

Common Errors in C Language Programming: Confusions for Beginners

Recommended reading: The interview with Huan Dad in “Sanlian Life Weekly” titled “Slow is Fast: Mathematical Olympiad, a Mental Gymnastics”, WeChat public account reading link “How to Learn the Demonized Mathematical Olympiad?” This article discusses Huan Dad’s experience with Mathematical Olympiad and his views on it. The first class in C language programming, most students … Read more

17 Common Mistakes New C Programmers Make

17 Common Mistakes New C Programmers Make

The C compiler is not as strict with syntax checks as other high-level languages, which gives programming experts some “flexibility”. However, this flexibility brings many inconveniences to debugging, especially for those who are just starting to learn C. They often make errors that they themselves cannot identify. 1. Ignoring Case Sensitivity When Writing Identifiers. The … Read more

Common Mistakes for C Language Beginners: A Summary of 22 Points

Common Mistakes for C Language Beginners: A Summary of 22 Points

Click the blue text Follow us Content 1. Language Usage Errors When coding, it is often necessary to switch between Chinese and English, which can lead to mistakenly using Chinese symbols. For example, the Chinese semicolon “;” occupies two bytes, while the English semicolon “;” occupies only one byte. The compiler can only recognize English … Read more

Common Compilation Errors in Arduino IDE

Common Compilation Errors in Arduino IDE

Introduction During the use of the Arduino IDE, after completing the program and clicking to upload, if there are syntax or other unexpected errors in the program, it will lead to upload failure (or compilation failure). What causes this? Below, several of the most common error prompts will be listed along with perfect solutions. The … Read more

Troubleshooting LineageOS Installation

Troubleshooting LineageOS Installation

Spent a week troubleshooting various environmental issues, thankfully there were no errors during the compilation, or I would have gone crazy. Pixel 4 Ubuntu 22.04 1. Syncing Code Since my computer can sync, I later tried to force sync directly and then bought 2TB of data, using scientific syncing or removing the proxy to use … Read more

Real Test of STM32 RTC: No Calibration for Six Months, Fast by 13 Minutes

Real Test of STM32 RTC: No Calibration for Six Months, Fast by 13 Minutes

[Test Results] The RTC clock of the TOOL has always been manually calibrated via the host computer. This time, an experiment was conducted without any calibration for half a year to observe the results. The test started on September 29 last year.As of April 5 this year, it was fast by 13 minutes.[Causes of Error] … Read more