The same code, when I compiled it in EVC, was about 1M. After porting it to VS2005, it increased to 2.3M. Why is this? I also optimized the program and removed a lot of code, but the compiled EXE is e...
uint16 dat;...if (dat0xff00) {....}After compilation, onlymov A,R2jz c:xxxxIndeed, it is enough to judge whether the upper eight bits are non-0.I have also studied the principles of compilation. It is...
The brightness of LED lights can be adjusted by using timers and corresponding output functions. Taking channel 1 of timer 1 as an example (PA8), it can achieve PWM control by controlling the duty cyc...
Since I don't have this development board, I can't fully understand the CAN communication of this development board. However, through studying the routines, I found that CAN communication is used for ...
Because the SD/MMC board on some development boards does not support 4-bit bus mode, a new macro MICROPY_HW_SDMMC_BUS_WIDTH is added to allow the width of the SD/MMC bus interface to be defined, the d...
I received the LM3S8962 evaluation kit on Friday and took some time to study it today. The development kit includes the LM3S8962 evaluation board and the LM3S2110 CAN evaluation board, as well as a US...
introduction
1 The significance of using RTOS on MSP430
It is understandable that it is meaningless to use RTOS on MSP430. Because the hardware resources of MSP430 are limited (for exampl...[Details]
0. Introduction
In daily life, we often see some special-purpose vehicles. When these vehicles pass through intersections, they often obtain the right of way at intersections by temporarily op...[Details]
I. Introduction
Since RS232 has a short communication distance (only 15 meters according to EAT/TAI-232 standard), and can only perform point-to-point communication, it cannot directly f...[Details]
Digital array radar (DAR) uses digital beam forming (DBF) in both receiving and transmitting modes to achieve flexible distribution and reception of RF signal power in the airspace, obtain excellent t...[Details]
TC9012F is a universal CMOS large-scale integrated circuit for infrared remote control signal transmission, suitable for remote control of TV, VTR, laser player and other equipment. In the market, ...[Details]
Problems such as the depletion of natural resources, air pollution, traffic congestion, and rising fossil fuel prices have forced societies and individuals to seek alternative means of transportati...[Details]
Motors, especially those with brushes, generate a lot of noise. This noise must be dealt with if the appliance is to meet the requirements of EMC standards. The means to solve EMC are nothing more ...[Details]
Liquid crystal display (LCD) panels have a wide range of applications, from small portable electronic devices to large fixed devices, including digital cameras, laptops, personal data assistants, d...[Details]
When the so-called "copycat phones" that flood the domestic mobile phone market move towards large screens, stereo amplifiers, touch controls, and even GPS navigation and mobile TV, the homogeneity...[Details]
LED is the abbreviation of the English word. Its main meanings are: LED = Light Emitting Diode, a solid-state semiconductor device that can convert electrical energy into visible light. It can dire...[Details]
LED is now known as the fourth generation of light sources. High-power LED has many advantages over traditional light sources in outdoor lighting.
1 LED lamps have high light efficiency
C...[Details]
a. Keep the battery clean, wipe off the spilled electrolyte, contaminated dirt and dust in time; keep the poles and terminal clamps clean and in good contact, and apply vaseline or butter to preven...[Details]
This article focuses on closing the feedback loop of an isolated power supply using a TL431 shunt regulator. The article discusses a method to extend the bandwidth of the power supply control loop ...[Details]
1 Introduction
Power supply ripple will interfere with the normal operation of electronic equipment, causing malfunctions such as computer crashes, data processing errors and control system fa...[Details]
Some people think: as long as the program runs well, it doesn't matter how the original program is written. But this is absolutely not the case. Software is not completed in one go, and it is neces...[Details]