-
The guy above is talking nonsense. The so-called microcontroller is a single-chip computer that integrates microprocessors, memories and input-output interfaces and other components on a chip. The main functions and applications of single-chip microcomputer are control, such as the control circuit of microwave oven, the control circuit of air conditioning, etc., of course, mobile phones or PDA will also use single-chip microcomputer, but it cannot be said that mobile phone GBA, PDA is single-chip microcomputer!
For more professional answers, please contact STMicroelectronics for product service: ST's microcontroller portfolio includes the industry's broadest and most innovative 32-bit product family, the STM32, covering ultra-low-power and ultra-high-performance directions. At present, it offers 16 product lines (F0, G0, F1, F2, F3, G4, F4, F7, H7, MP1, L0, L1, L4, L4+, L5, WB) with more than 1000 models. Thank you!
-
The char type is 1 byte.
The int type is 2 bytes.
The long type is 4 bytes.
9999 should be INT type, no more than 65536.
-
If you have a problem with your program, it doesn't matter how big a number 51 can handle.
-
There must be something wrong with your program, so check your program again. Garbled? Either that's the access out of bounds, do you use c or assembly?
In short, garbled characters, it must be that the storage unit you are accessing is not the one you stored, you check it carefully.
-
Brother, do you understand the wrong 51 The principle of displaying the digital tube has nothing to do with the number of digits I can use 51 to display 10 20 digital tubes It's no problem The garbled is the problem of your program delay or the problem of other programs.
-
Not all EAs that have 51 need to be connected high, some don't.
-
It has to do with external memory.
-
Summary. Pro, it can be used as a conditional test to realize the program jump, 51 single-chip microcomputer comparison size instruction can be used to compare the size relationship between 2 arbitrary data, when the comparison result meets the conditions given by the user, the program jump can be realized, so as to realize programmable logic control. 51. The specific implementation of the single-chip microcomputer comparison size instruction is divided into three steps:
1.Firstly, the comparison data is loaded into the instruction register, so that the single-chip microcomputer generates a set of comparison result words. 2.Then, according to the comparison result word, the logical operation is executed according to the conditions set by the user. 3.
Finally, according to the results of logical operation, the program jump is realized and the corresponding operation is executed, so as to realize programmable logic control. In addition, the comparison size instruction of 51 single-chip microcomputer can also provide users with different comparison methods according to different comparison conditions, such as instructions je (equal to), jne (not equal to), jl (less than), jh (greater than) and so on.
Can you help me look at this question?
Pro, can be used as a condition test to achieve the program jump, 51 single-chip microcomputer comparison size instruction can be used to compare the size relationship between 2 arbitrary data file rocks, when the comparison result meets the conditions given by the user, the program jump can be realized, so as to achieve programmable logic control. 51. The specific implementation of the single-chip microcomputer comparison size instruction is divided into three steps: 1
Firstly, the comparison data is loaded into the instruction register, so that the single-chip microcomputer generates a set of comparison result words. 2.Then, according to the comparison result, the logical operation is carried out according to the conditions set by the user. 3.Finally, according to the results of the logical operation, the program jump is realized and the corresponding operation is executed, so as to realize the programmable logic control of Sun Yufeng.
In addition, the comparison size instruction of 51 single-chip microcomputer can also provide users with different comparison methods according to different comparison conditions, such as instructions je (equal to), jne (not equal to), jl (less than), jh (greater than) and so on.
Dear, can you copy the question over?
-
5. Qingfeng MCU course, 51 MCU minimum system PCB board design planning.
-
There is a power supply. crystal oscillator (or internal crystal oscillator), reset circuit (or internal reset circuit). Such a basic composition.
-
Crystal oscillator, reset circuit, VCC and other basic structural composition.
-
1 power part.
2. Crystal oscillator part.
3. Reset part.
It is to build these three parts, and this single-chip microcomputer can run.
After running, you can use the control port of the microcontroller to control other things.
For a detailed explanation, you can take a look at the posts I have organized.
Be an enthusiastic netizen, I hope you like it, thank you!
-
The minimum system of the single-chip microcomputer means that the program in the single-chip microcomputer is to run, and the minimum configuration is required. If you need to use the IO port to drive the LED, you can run it directly after writing the program. Of course, if you need to get something else, you also need other chip support.
-
u, how many binary digits are there?
--mov a, u
mov b, #
mul ab ;Multiply by 209 to facilitate later calculations.
The product is 16 bits. Divide by 256 and move 8 bits to the right.
The quotient is the 8 digits left in b.
mov a, b
mov b, #
div ab ;Divide by 10 and the remainder is"One decimal place"
mov r2, b ;Save decimals.
mov b, #
div ab ;Divide by 10 and the remainder is"Single digits"
mov r1, b ;Save single digits.
mov r0, a ;Save the ten digits.
Two integers and one decimal place for the result: r0, r1, r2 respectively.
Use a single-chip microcomputer that replaces PWM, just use a loop, while(1). >>>More
Scheduled interrupts, external interrupts?
p is bigger, your { } is not paired, more or less one.
Use the timer to make a 100Hz PWM signal, and set another timer in the timer at the same time, and the pulse width is halved after half an hour of PWM, that is, the power is halved.