1.printf function
This is very simple. Just redirect the printf function.
This is the STM8L microcontroller code. Note: If it is an IAR compiler, you need to enable library-FULL
It can be used on msp4...
What will happen to the MOS tube if the voltage applied to the G and S poles is greater than the maximum value specified by the chip? For example, the voltage at the GS terminal of IRF540N is 24V, and...
Since the introduction of monitoring technology into my country in the 1980s, it has been developing rapidly with the sharp increase in security needs. From a technical perspective, it has gone throug...
Abstract: This paper introduces the implementation method of single-button bistable control by programming of programmable controller PLC, and takes S7-200PLC produced by Siemens as an example, and gi...
Nowadays, whether you are walking on the streets of Beijing or resting in your apartment; whether you are shopping in an underground mall or driving on the highway, you will have this feeling: mobile ...
Recently, the U.S. Department of Commerce announced that it would prohibit companies in the country from selling any electronic technology or communication components to ZTE, a Chinese communicatio...[Details]
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]
When the domestic discussion about "ZTE being banned" was hot, Alibaba officially announced the acquisition of chip supplier
Zhongtianwei
, but the investment amount was not disclosed. At t...[Details]
China Energy Storage Network:
Blockchain + finance, blockchain + environmental protection, blockchain + insurance, even a roadside fried chicken shop is using the banner of blockchain + fried...[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]
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[Details]
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[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]
At the beginning of the new year of 2018, after the release of the national photovoltaic policy, we found that the state’s support for village-level poverty alleviation power stations has not weake...[Details]
Kevin Jensen ams Semiconductor
Sensors
and lighting expert. Let's learn more about the relevant content with the network communication editor.
Everything is becoming "smart" these ...[Details]
Photovoltaic inverters are the core equipment of photovoltaic systems. Their main function is to convert the direct current generated by photovoltaic modules into alternating current that meets the...[Details]
Internal channels of ADC: In addition to using external channels to collect external analog voltage signals, the ADC of STM32 also has two internal channels 16 and 17. Channel 16 is connected to ...[Details]
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[Details]
/*----------------------------------------------- Name: IIC protocol PCF8591 AD/DA conversion Content: Use DA input, digital tube display output digital quantity, LED display analog voltage size ...[Details]
Title: Use the table lookup method to convert a hexadecimal number into ASCII code. The input parameter is placed in the internal RAM 50H, and the output parameter is in R0. Requirements: Complete th...[Details]