-
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[Details]
-
The Wassenaar Arrangement, everything started during the Cold War. Let's learn more about it with the embedded editor.
background
After the end of World War II, the United States ...[Details]
-
The implementation of CAN driver under embedded operating system Android requires not only adding CAN driver device in Linux kernel, but also implementing the call of Android HAL layer. Taking S5...[Details]
-
When Amazon quietly launched a product called Elastic Computing Cloud 12 years ago, the Internet industry in China, across the ocean, also ushered in an unprecedented development opportunity. Let's...[Details]
-
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[Details]
-
pre name="code" class="cpp" uint32_t ADC_Detect(uint32_t AD_Channel) { hadc.Instance- CHSELR = 0; ADC_ChannelConfTypeDef sConfig; sConfig.Channel = AD_Channel; sConf...[Details]
-
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
-
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[Details]
-
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[Details]
-
Pin Definition FSMC configuration steps 1. Enable the corresponding pin GPIO clock 2. Configure the GPIO pin mode 3. Enable the FSMC clock 4. FSMC initialization 5. Memory block enable Examp...[Details]
-
Summary of STM32 peripheral DMA usage: 1. Select DAM mode according to your needs: (1) Circular mode—DMA_Mode = DMA_Mode_Circular (2) Normal mode—DMA_Mode = DMA_Mode_Normal 2. For Chanel3 of DMA1, t...[Details]
-
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
-
Using AT89S51 microcontroller, modify the original one to turn the LED on for 4s and off for 2s. Thank you. Use a timer. (The program is written in the answer, omitted here - just a note) The origi...[Details]
-
Design a second and minute pulse generator for a single-chip microcomputer using the interrupt method. Assume that P1.0 generates a positive pulse of one machine cycle per second, and P1.1 generates ...[Details]
-
/************************************************************************************* * main.c: the main file * NXP -- LPC1768 * * * Author : light ...[Details]