-
Recently, the first Digital China Summit was held in Fuzhou, attracting many domestic ICT industry giants to participate in the exhibition. The long queues outside the venue, the noisy and exciting...[Details]
-
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[Details]
-
Artificial intelligence
There is no inherent bias in AI. It does not "think" something is true or false for reasons that cannot be explained by logic. Unfortunately, human bias exists in mach...[Details]
-
The analog watchdog of the ADC is used to check if the voltage is out of bounds. It has two upper and lower bounds, which can be set in the registers ADC_HTR and ADC_LTR respectively. The library fun...[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]
-
When STM32 uses JTMS (PA13) and JTCK (PA14) as normal I/O ports, add the following code before initialization (the order cannot be reversed): RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); G...[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]
-
T1 or T2 are two timers/counters of MCS-51 microcontroller. The first method can use two timers/counters to generate rectangular waves. In order to save interface resources, the second method is used...[Details]
-
While imaging industry experts know that Apple has designed a complex 3D camera for its iPhone X, called "TrueDepth," most of the details of the 3D system inside the module, including chips, componen...[Details]
-
International Solar Photovoltaic Network News: On November 21, Australia's SMA Solar Technology Co., Ltd. signed a contract with the local government to provide photovoltaic inverters with an insta...[Details]
-
Pay attention to whether the new lock matches the old door Smart locks have many advantages over traditional mechanical locks. Although the domestic penetration rate is not high, with the strength...[Details]
-
#include MSP430x12x2.h #define TEM_ADC_CHL 0x0a void InitSys(void); void Read_ADC(unsigned int INCH_channel); void ADC_TO_TEM(void); unsigned int ADC_sample_val; unsigned int long temp1,temp2;...[Details]
-
MSP430 uses ADC10 to measure the voltage of the temperature diode inside the chip #include "msp430x22x4.h" //This program uses ADC10 to measure the voltage of the temperature diode inside the chip ...[Details]
-
volatile unsigned int ad_value ; int main( void ) { WDTCTL=WDTPW+WDTHOLD; //Turn off watchdog BCSCTL1 =CALBC1_1MHz; //Set DCO to 1MHZ DCOCTL =CALBC1_1MHZ; //Clock source: AD internal clock and divide...[Details]
-
;*************************************************************************** ; Infrared remote control motor.dt ;*************************************************************************** PORT5 =...[Details]