-
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]
-
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
-
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]
-
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]
-
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]
-
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]
-
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]
-
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]
-
Site conditions: 1. AD acquisition, DMA transmission; AD is set to single-channel continuous mode, DMA is set to single-shot mode. The upper threshold of the AD analog watchdog setting is less than t...[Details]
-
ORG 0000H
LJMP MAIN
ORG 0003H
LJMP TOINT
ORG 001BH
LJMP TOINT1
ORG 0030HMAIN: MOV SP,#60H
SETB IT0
SETB EX0
SETB EA
SJMP $TOINT:MOV TMOD,#10H
MOV TH1,#0FEH
MOV TL1...[Details]
-
Recently, the National Development and Reform Commission announced that all foreign equity restrictions in the automobile industry will be lifted in the next five years. At the same time, as subsid...[Details]
-
/********************************************************************** ** ** File : ADC.c | Analog to Digital converter | ...[Details]
-
//****************************************************************************** // MSP430x24x Demo - USCI_A0, 9600 UART Echo ISR, DCO SMCLK // // Description: Echo a received character, RX ISR u...[Details]
-
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[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]