-
1. Principle 1. Infrared emission protocol There are many infrared communication protocols. This experiment uses the NEC protocol. This protocol uses PWM modulation and uses pulse width to represen...[Details]
-
Today, under the guidance of a low-level expert, I learned how to configure the PWM module! Woof! First open the file configured last time, as follows: Then, we need to use TIM1 to set PWM: Then,...[Details]
-
Superconductors have physical properties such as zero resistance effect, Meissner effect and Josephson effect, which make them have broad application prospects and unparalleled advantages in many b...[Details]
-
Autonomous driving
and
5G
are the two hot topics that global companies and media are paying the most attention to, and the combination of the two is the focus of everyone's attention....[Details]
-
Program ideas and defects reference: 51 single chip microcomputer (AT89C52) matrix keyboard detection program #include iom16v.h typedef unsigned char uchar; typedef unsigned int uint; #define ...[Details]
-
The single-chip microcomputer running light program requires all 32 serial ports to be used, and each serial port has eight LEDs. Question supplement: The 8051 single-chip microcomputer is used, an...[Details]
-
In the 80C51 single-chip microcomputer, the clock frequency is known to be 6MHz. Please program P1.0 and P1.1 to output square waves with periods of 2s and 0.5s respectively. Please give the answer a...[Details]
-
A simple experimental programming question for the microcontroller: write a 3-byte binary addition subroutine. The program entry is: addend 1: 22H, 21H, 20H three bytes, 22H is the highest bit; adden...[Details]
-
Recently, the National Development and Reform Commission announced that all foreign equity restrictions in the automobile industry will be lifted in the next five years. At the same time, as subsid...[Details]
-
1. Pin: 0 in 1 out Set Status Output status IO register setting DDR×A certain bit is set to 1, and the corresponding bit IO is set to output; PORT×A certain position is 1/0, and t...[Details]
-
//Note: The GCC-AVR version used in this article is WinAVR20100110 Interrupts are not part of the C language, and the implementation of interrupts is implemented by the compiler. Therefore, the writ...[Details]
-
#include #include // Alphanumeric LCD Module functions #asm .equ __lcd_port=0x18 ;PORTB #endasm #include int shi,ge,qian,bai,m; int adc_v; // Timer 0 output compare interrupt service routin...[Details]
-
What is an AVR microcontroller? What are the advantages of an AVR microcontroller? Why should you choose an AVR microcontroller? AVR microcontroller is a new type of microcontroller developed by ATME...[Details]
-
After three years of continuous decline in its mobile phone business, ZTE has finally revealed its true feelings to the outside world: the Chinese market is its weak point, and it is planning to f...[Details]
-
With the development of human society, people's travel needs are increasing, the number of cars is also increasing, the resulting air pollution problem is becoming more and more serious, and the sa...[Details]