-
The update interrupt initialization configuration of the stm32 advanced timer TIM1 is not much different from that of the ordinary timer. What needs to be paid attention to is the configuration of TI...[Details]
-
Using Systick timer to achieve delay 1. SysTick timer characteristics The SysTick timer is a 24-bit down counter, that is, when vlue is decremented to 0, an interrupt is triggered and the load va...[Details]
-
Recently, the US embargo on ZTE has attracted much attention. Let's take a look at the relevant content with the automotive electronics editor. On April 16, local time, the U.S. Department of Co...[Details]
-
The goal of this article is to build a TCP client based on the previous project that can ping the PC, and can actively send data to the PC, and can also send and receive data with the PC, and display...[Details]
-
As many companies listed with
the concept of
touch screen
begin to "transform and upgrade", the official voice of the TP industry is getting smaller and smaller. At the same time, the list o...[Details]
-
The article is written for LPC2148, but it is also applicable to Samsung's 44B0 chip. You only need to select S3C44B0 as the corresponding CPU when selecting it. JLINK debugging experience un...[Details]
-
If you do not use an external crystal on the STM32, the connection method of OSC_IN and OSC_OUT If you use the internal RC oscillator instead of an external crystal, please follow the following metho...[Details]
-
For complex calculations, the speed of the microcontroller is too slow. The best way is to manually calculate all the results in advance, store them in ROM in sequence, and then directly check the re...[Details]
-
As an important branch of the power electronics industry, the technological progress of photovoltaic inverters is highly dependent on the development of electronic components and control technology...[Details]
-
#ifndef _I2C_H #define _I2C_H #define SDA_1 P4OUT|=0x02 //SDA = 1 #define SDA_0 P4OUT&=~0x02 //SDA = 0 #define SCL_1 P4OUT|=0x01 //SCL = 1 #define SCL_0 P4OUT&=~0x01 //SCL = ...[Details]
-
MSP430 MCU controls stepper motor with display program #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int #define comm 0 #define dat 1 #define sclk_1 P4OUT|=0x01 //sc...[Details]
-
According to data released by WitsView, among the top six TV panel companies in 2017,
Samsung
's TV panel production capacity declined the fastest, reaching -15.4%. However, this does not m...[Details]
-
The chip is EM78P153 ; P64, P65 are connected to the crystal oscillator, the oscillation mode is 4MHz crystal oscillator ; the watchdog is off, the instruction cycle is 2 CLOCK, and P63 is the rese...[Details]
-
The vigorous promotion of the photovoltaic "leader" project has played a very significant role in promoting industrial transformation and technological upgrading. High-efficiency photovoltaic power...[Details]
-
在一个沒有規则性的内容转换中,查表程序是相当有用的,用户可以使用查表程序很快速的得到相关内容的转换。 例:设计一个程序,將如下图所示中的PORT5读到的一个数值,将输入内容做转换,然后输出到PORT6的7段显示器上。 上图中开关关闭,I/O引脚可以得到一个低电位,若是开关开启则I/O引脚可以得到一个高电位。 图 5.2 数码管 八段说明 7段显示器的接线图如上,我們要編一...[Details]