MCU C language programming tutorial

Updated on technology 2024-02-09
4 answers
  1. Anonymous users2024-02-05

    The introductory course of MCU C language programming is not difficult, it is not easy to say, and the first thing to understand is to understand what these two things are when learning MCU C language? The introductory programming of single-chip microcomputer is mainly to learn C language, followed by circuit and programming language.

    The three books about modular electricity, digital electricity, and circuits that must be read for the study of C language programming of single-chip microcomputer pave the way for the next learning. The purpose of reading the book is because there are too many tutorials on the Internet, which are too mixed, and it is easy to deviate, and to do single-chip microcomputer software development, in fact, as long as you can understand the circuit principle.

    Introduction

    A single-chip microcomputer, also known as a single-chip microcontroller, is not a chip that completes a certain logic function, but integrates a computer system into a chip. It is equivalent to a miniature computer, and compared with a computer, the microcontroller only lacks the IO device.

    In a nutshell: a chip becomes a computer. It is small in size, light in weight and cheap, which provides convenient conditions for learning, application and development. At the same time, learning to use a microcontroller is the best choice to understand the principles and structure of computers.

    The use of single-chip microcomputer has been very wide, such as smart meters, real-time industrial control, communication equipment, navigation systems, household appliances, etc.

    Since the nineties of the twentieth century, single-chip microcomputer technology has been developed, with the progress of the times and the development of science and technology, the practical application of the technology is becoming more and more mature, single-chip microcomputer is widely used in various fields. Nowadays, people pay more and more attention to the development and application of single-chip microcomputer in intelligent electronic technology, and the development of single-chip microcomputer has entered a new era.

    Whether it is automatic measurement or the practice of smart meters, you can see the presence of single-chip microcomputer technology. In the current industrial development process, the electronics industry is an emerging industry, and people have successfully used electronic information technology in industrial production, so that electronic information technology and single-chip microcomputer technology are integrated, which effectively improves the application effect of single-chip microcomputer.

    As a branch of computer technology, the application of single-chip microcomputer technology in the field of electronic products enriches the functions of electronic products, provides a new way out for the development and application of intelligent electronic equipment, and realizes the innovation and development of intelligent electronic equipment.

    The above content reference: Encyclopedia-MCU.

  2. Anonymous users2024-02-04

    You should learn C language first, you can watch Mr. Tan Haoqiang's <

  3. Anonymous users2024-02-03

    If you haven't learned the principles of microcomputers, it is recommended that you learn them first.

    After finishing studying, buy a book by Shanghai Ma Chao in a week.

    You get it

  4. Anonymous users2024-02-02

    Disagree with the Senseless Light. C Programming has certainly created a momentary success, and that success is likely to continue, but that doesn't mean it's the best. The reason why this book became popular was because there was no way to learn C at that time, and this book is easy to understand.

    But now the book is so backward that even the old standard is still used in the 3rd edition, and now everyone generally uses the C99 standard. The old standards don't compile in Dev C++. And it seems that the questioner should understand the basics of C, and I recommend the book "C Language Programming and Examples of MCU".

    mark teaerror

Related questions
5 answers2024-02-09

For how to learn single-chip microcomputer, I think it is still necessary to master its hardware, storage structure, assembly must be proficient, because the introduction of assembly is very helpful and understand the hardware, if you learn single-chip microcomputer, and then learn other, such as arm, at this time you can only be familiar with the assembly, but the first time to learn single-chip microcomputer, assembly, must be proficient, I mean at first do not use c to write programs, write with sinks, write can 10 20 assemblers, your assembly will go to the next level, In the future, you'll be using C for development, and you'll see how comfortable it is to optimize C with a solid foundation for assembly. Regarding the study of microcontrollers, I think it is necessary to have: >>>More

8 answers2024-02-09

void key0()

if(p1_0!=1) *If the key 0 is pressed. >>>More

12 answers2024-02-09

A: The bit-addressing area is located between 20F and 2Fh in the data memory. The registers in this interval can be bit-addressed, and they can be bit-manipulated and bit-arithmetic. >>>More

15 answers2024-02-09

This has to be studied systematically. As the core of the control unit, the role of the single-chip microcomputer is quite important. That's why the 51 nucleus is still popular after decades. >>>More

6 answers2024-02-09

Crash, it may be that the on-site interference is too severe. Anyway, even have abandoned chips that don't have internal program memory and EEPROM. The reason is that it is often not a program problem, but a board and PCB design problem. >>>More