-
Event: The company simultaneously released its 2017 annual report and the first quarter report of 2018. In 2017, the company achieved revenue of 8.886 billion yuan, a year-on-year increase of 48.01...[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]
-
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[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]
-
In 1949, after three years of civil war, the Nationalist government was defeated and retreated to Taiwan. The political and academic circles launched a large-scale reflection on why they failed in ...[Details]
-
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[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]
-
The code for using timer 0 to implement a running light in a 51 MCU is as follows. The LED light is connected to port P1. The code is annotated below, so I won't explain it in detail. My English is n...[Details]
-
Circuit: Using AT89S52 single chip microcomputer. P3.0 to P3.3 are connected to four external buttons. P3.4 to P3.7 are the bit selection ports for controlling the four digital tubes, and P1 is the s...[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]
-
Unfortunately, my serial port has some problems and I can't print information. I can only debug to view variables and see the values. Fortunately, there is not much AD conversion code, and I can use ...[Details]
-
:For medium and large-scale domestic photovoltaic power stations, inverters generally go through an open bidding process. Due to the high technical content of power station design, it is necessary ...[Details]
-
Mobile phone battery charger program made by STC12C2052AD microcontroller #include stc12c2052ad.h #include intrins.h #define uchar unsigned char #define uint unsigned int sbit REF =P1^0; sbi...[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]