-
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[Details]
-
The day before yesterday, I learned about STM's Systick and found it quite useful for precise timing. When I used CVAVR before, I found that the delay.h in it was very useful. So, I used STM32's...[Details]
-
Leading Chinese PV inverter manufacturer Huawei said it is supplying string inverters to a 75MW fully digital utility-scale solar project in Brazil, which it claims is the first of its kind in the cou...[Details]
-
In the project, CPLD is needed to complete part of the algorithm design. The parameters are given by AVR, so the communication between AVR and CPLD needs to be completed. Therefore, a test program is...[Details]
-
As a leading company in automotive semiconductors, Freescale and Khronos Group have jointly launched an automotive multimedia embedded microprocessor i.MX35 with an integrated OpenVG hardware acceler...[Details]
-
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
-
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]
-
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
-
#include "MSP430x24x.h" void main(void) { // Stop watchdog timer to prevent time out reset WDTCTL = WDTPW + WDTHOLD; //Watchdog P4DIR = BIT0|BIT1|BIT2|BIT3; //Set to outpu...[Details]
-
/********************************************************************** ** ** File : EEPROM.c | Eeprom write and read | ...[Details]
-
What else can we do before the arrival of 5G
,
which will be officially commercialized in 2020
? Let's follow the network communication editor to learn about the relevant content.
I...[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]
-
MSP430 MCU 1602 LCD display program #include "msp430x22x4.h" #define uint unsigned int #define keyin (P2IN&0x0f) //Hardware connection P4 data port P3.7---E P3.6---RW P3.5----RS //P2 lower 4 bit...[Details]
-
/*34864 Chinese character library*/ // Connection of MCU //******************************************************** //p3= data port //p4--control port// p4.0 = rs //p4.1= r/w //p4.2= e //...[Details]
-
float ad_value; float value; int main( void ) { WDTCTL=WDTPW+WDTHOLD; //Turn off watchdog BCSCTL1 =CALBC1_1MHz; //Set DCO to 1MHZ DCOCTL =CALBC1_1MHZ; ADC10CTL1=INCH_10; //Select the 10th chan...[Details]