-
Dong Yang, executive vice president of the China Association of Automobile Manufacturers, said on the 26th that according to the authorization of the Ministry of Industry and Information Technology...[Details]
-
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[Details]
-
Hardware platform: stm32F407Zet6 Software platform: stm32cubeMX 4.7+MDK5.14 Circuit connection: PE8-LED0, PE9-LED1, PE10-LED2, PE11-LED3 Step 1: Create a project using stm32cubeMX 1. Start the soft...[Details]
-
In recent years, in order to meet the needs of social development, more and more companies have entered the fields of smart phones, artificial intelligence,
VR
, AR, etc. After seeing the d...[Details]
-
In 1949, after three years of civil war, the Nationalist government was defeated and retreated to Taiwan. The political and academic circles launched a large-scale reflection on why they failed in ...[Details]
-
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
-
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
-
STM32 has 2 watchdogs: independent watchdog and window watchdog. Independent watchdog IWDG: A system fault detector that is independent of the system and is not affected by the system because it has ...[Details]
-
The calculation formula of the watchdog feeding time (watchdog overflow time) is: Tout=((4*2^prer)*rlr)/40 Tout is the watchdog overflow time (in ms), prer is the watchdog clock prescaler value (...[Details]
-
Introduction: As a power electronic device, the photovoltaic inverter mainly converts the direct current generated by the photovoltaic module into alternating current. Because there are thousands o...[Details]
-
A crystal oscillator can be electrically equivalent to a two-terminal network consisting of a capacitor and a resistor in parallel and a capacitor in series. In electrical engineering, this network h...[Details]
-
The code for using timer 0 to implement a running light in a 51 MCU is as follows. The LED light is connected to port P1. The code is annotated below, so I won't explain it in detail. My English is n...[Details]
-
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
-
Code: void TEST(volatile near unsigned char* IO,unsigned char n,BOOL value) { unsigned char a; unsigned char b; a=*IO; b=0x01; b=b n; if(value) { *IO=a | b; } else { b=~b; *IO=a & b; } } PIC stru...[Details]
-
/**********(一)Timer A comparison mode*************/ int main( void ) { WDTCTL=WDTPW+WDTHOLD; //Turn off watchdog BCSCTL1 =CALBC1_1M Hz ; //Set DCO to 1MHZ DCOCTL =CALBC1_1MHZ; P1DIR |= BIT0; ...[Details]