-
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
-
After we understand the use of libopencm3, we find that libopencm3 is only suitable for small projects. Its biggest feature is the convenience of USB. So when we configure large projects, is there a ...[Details]
-
Overview
Lightning is a strong discharge phenomenon that occurs between thunderstorm clouds and between thunderstorm clouds and the earth due to severe convective weather. Lightning is gen...[Details]
-
In the Chinese automobile market, the trend of new energy vehicles and driverless cars is leading the transformation of China's automobile industry. As the world's largest automobile market, "Chinese...[Details]
-
At present, the Beidou system has achieved industrial breakthroughs and leapfrog development in five major areas, including the automotive OEM market, smart phones, and high-precision applications....[Details]
-
In the project, CPLD is needed to complete part of the algorithm design. The parameters are given by AVR, so the communication between AVR and CPLD needs to be completed. Therefore, a test program is...[Details]
-
Temperature, humidity and irradiance are must-measure items in the photovoltaic industry. However, most of the current data collection is done by storing data in USB flash drives for offline analys...[Details]
-
From the functional classification, it can be divided into: 1. Active control ADAS: ACC/AEB/LKS, etc. 2. Warning ADAS: FCW/LDW/PCW, etc. 3. Other auxiliary ADAS: BSD/ADB/panora...[Details]
-
1. Function and purpose There are two pins BOOT0 and BOOT1 on each STM32 chip. The level status of these two pins when the chip is reset determines which area the program starts from after th...[Details]
-
The STM8L contains a 12-bit ADC with 25 input channels, including an internal temperature sensor, an internal reference voltage As can be seen from the figure above, there is an internal re...[Details]
-
#include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f ,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; unsigne...[Details]
-
#include "MSP430x24x.h" void main(void) { // Stop watchdog timer to prevent time out reset WDTCTL = WDTPW + WDTHOLD; //Watchdog P4DIR = BIT0|BIT1|BIT2|BIT3; //Set to outpu...[Details]
-
//******************************************************************************/ #include msp430.h //Note: There must be a delay between two transmissions, otherwise it cannot be sent again, seria...[Details]
-
/********************************************************************** ** ** File : EEPROM.c | Eeprom write and read | ...[Details]
-
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]