-
I have read the source code of mbed these days, and the interface encapsulation for upper-level application calls is quite good. The code quality is relatively high, the comments are also very detai...[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. Development Environment 1. Applicable chips: All STM32F4 chips 2. Firmware library: STM32F4xx_DSP_StdPeriph_Lib_V1.8.0 3,IDE:MDK517 2. Driver source code Delay.h...[Details]
-
Function List and Notes (lower-level driver part) 1. IO port initialization: control IO and communication IO. Control includes power control, reset and low power mode. Communication is the serial po...[Details]
-
On April 18-19, 2018, at the "Second Distributed Photovoltaic Carnival" held in Hangzhou, Jinko Power and China New Energy Assets Investment, Financing and Trading Platform (hereinafter referred to as...[Details]
-
Different from 51, AVR and other single-chip microcomputers, the clock signal sources of msp430 include LFXT1, XT2 and DCO. 1. LFXT1: It can connect high-speed and low-speed crystal oscillators. In l...[Details]
-
Recently, Jiangsu GoodWe Power Technology Co., Ltd. ("GoodWe") unveiled two products of the SDT family, the 17kW smart photovoltaic inverter GW17KN-DT and the 20kW smart photovoltaic inverter GW20KN-D...[Details]
-
/******************************************************************************* * * Software function: Independent watchdog experiment * *************************************************...[Details]
-
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
-
Today’s medical devices are filled with increasingly complex electronic devices that monitor, display, assist and warn patients. The latest generation of medical device electronic devices are smaller...[Details]
-
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[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]
-
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
-
;Question: The 80C51 single-chip microcomputer has a fosc = 6MHz. It is required to use the T1 timer working mode 1 to perform a timing of 40ms. And P1.7 periodically outputs a rectangular wave with ...[Details]
-
An easy programming question for microcontrollers! Urgent, write a 3-byte binary subtraction subroutine. When using the main program to call multiple groups of data for debugging, two situations need...[Details]