1. In the ST Visual Develop development environment, variables cannot be defined in .h files. You need to define the variables in .C files and then declare them in .H files. Supplement: Today I suddenly found another situation. After a variable is defined in a .h file, it can be declared as extern in another .h file. Later, I found that these two .h files do not have their own .c files and are both in the same level path of the project file instead of in the module file.
2. If the ST Visual Develop development environment has problems such as slow entry or exit from DEBUG, or the menu bar disappears, it means that there is something wrong with the project file. You can just create a new project or copy and replace the recently OK project file. However, the latter may not be thorough, so it is recommended to use the former to solve the problem.
Previous article:Solution to the level output problem after STM8 turns off PWM output
Next article:STM8 PIN setting(output)
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- LCD Segment Screen Screen Printing Notes
- The brushless DC motor suddenly reverses when it is rotating forward, burning out the MOS tube relay
- hfss18 version 3D image setting problem
- [BearPi-HM Nano, play Hongmeng "touch and pay"] -7-"pseudo touch and pay" LED control
- The first post about motors: Sharing codes and experiences about speed in motor development
- Huawei is frantically poaching semiconductor talents, and many companies have filed collective complaints!
- [SC8905 EVM Evaluation] How to use I2Ctool on Nanxin Power Board
- Use of CSL library for DSP GPIO module
- Share the OVP circuit design in Buck-Boost circuit
- To be honest... I feel Guangdong is even colder than my grandmother's home in Hunan.