-
Note: This STM32 microcontroller is the STM32F103 series. The ADC of Stm32 has DMA function. This is beyond doubt and is what we use most! However, if we want to sample a signal (such as a pulse sign...[Details]
-
#include #include "DS1302.h" #include void ds1302_init(void) { PORTX=0x00; DDRX=0x07; } void write_ds1302_byte(unsigned char dat) { unsigned char i; for(i=0;i 8;i++) { ...[Details]
-
MSP 430 MCU key program #include msp430x14x.h #include "key.h" void Init_Port(void) { //Set all pins of P1 port to input mode during initialization P1DIR = 0; //Set all pins of ...[Details]
-
According to MiningWeekly, citing Bloomberg News, California, which is using power batteries to boost the electric vehicle craze, is launching another similar public utility revolution, which may c...[Details]
-
Experimental phenomenon: LED flashes on and off Change the value of the compare register in the main function /*************************************************************************************...[Details]
-
According to different functions, the development tools of ARM application software include compiler software, assembler software, linker software, debugger software, embedded real-time operating s...[Details]
-
According to the output of 430f149 MCU pwm and the delay time, the brightness and time of the breathing light can be controlled: #include "msp430x14x.h" //********************************************...[Details]
-
1. Introduction to I2C Bus 2. Preliminary understanding of I2C bus 3. I2C bus timing I2C communication is divided into the start signal Start, the data transmission part (can be multiple by...[Details]
-
DAC IntroductionThe DAC module is a 12-bit voltage output digital-to-analog converter. The DAC can be configured in 8-bit or 12-bit mode and can be used in conjunction with a DMA controller. In 12-b...[Details]
-
MIPI DSI, as a standard for image display interface, has been widely used. Engineers familiar with it know that we can easily light up the display screen through a piece of code, but for a screen t...[Details]
-
This paper introduces the software and hardware design method of vacuum fluorescent screen display in multifunctional kitchen control system. The system uses PIC16F72 single-chip microcomputer as...[Details]
-
1. Structure and working principle of P0 port The structure of one of the 8 bits of port P0 is shown in the figure below: As can be seen from the figure above, the P0 port is composed of a la...[Details]
-
1. Experimental Task : Display a column on the 8X8 LED matrix, and let it move smoothly from left to right three times, then from right to left three times, then from top to bottom three times, and ...[Details]
-
GPIOMode_TypeDef is an enumeration variable that is used to store the GPIO working mode. Its definition is as follows: typedef enum {GPIO_Mode_AIN = 0x0, GPIO_Mode_IN_FLOATING = 0x04, GPIO_Mode_I...[Details]
-
On October 23-24, 2017, the "2017 China Integrated Circuit Industry Promotion Conference" with the theme of "
China
Core · New Momentum"
was
successfully held in Kunshan. At this co...[Details]