-
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]
-
Serial Port: 一. USART_ITConfig(USART1, USART_IT_TXE, ENABLE): As long as the transmit register is empty, there will always be an interrupt. Therefore, if you are not sending data, turn off the tran...[Details]
-
After studying the F4 FSMC method to drive the touch screen for a few days, I have gained some understanding, which are listed below. The unorganized record is only for my own reference in the future...[Details]
-
When designing a product, if the application environment's requirements for power isolation are not considered, the product will be unstable due to improper design, and even high voltage may damage t...[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]
-
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
-
This paper proposes a design scheme for an embedded CNC system based on ARM and FPGA. The software and hardware design of the ARM system, the implementation method of hardware fine interpolation ...[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]
-
What are your expectations and ideas
for
the future of
Xiaomi Mi Band
?
Xiaomi Mi Band’s
official Weibo shared many netizens’ thoughts on
the future direction and functions
of Xiao...[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]
-
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]
-
Today I am using the AD function of the stm8s microcontroller. There are ten channels from AN0 to AN9 on the microcontroller. I want to use only three of them, AN5 to AN7. //ADC initialization void A...[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]
-
12864 LCD parallel port driver is more commonly used, but considering that sometimes the IO port of the microcontroller or MCU is limited, the serial driver method can be used. The following is ...[Details]