I found that when I press a keyboard key, I can immediately send a release action, and I can't release the key. After measurement, there must be a certain delay in the middle, and some say that the corresponding processing is done in the callback after sending. I didn't find the callback after sending. I used a delay of several milliseconds. The specific milliseconds need to be measured. I can send the release key action with a delay of about 2ms.
The serial port of stm32f205, despite using the flag bit judgment, still cannot send quickly, and a certain delay operation is still required in the middle. I feel that the difference between stm32f205 and stm32f103 is a bit big. At least stm32f103 can send the second byte immediately after the flag bit is reset after judging the completion of sending. But 205 does not work at all. There must be a delay.
The design of LED flashing usually uses delay, which affects efficiency. Using a timer to flash LED has a good effect, with a timing of ms level, and each timer interruption can light up or turn off the LED.
Keyboard acquisition method: interruption and sampling are both acceptable. Sampling method: capture, record, and process! Interruption is more timely.
Previous article:Understanding ARM Compact Memory TCM
Next article:STM32 internal flash reading and writing program
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
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
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Brief Analysis of Automotive Ethernet Test Content and Test Methods
- How haptic technology can enhance driving safety
- Let’s talk about the “Three Musketeers” of radar in autonomous driving
- What is Wi-Fi and why is it important?
- I need help from you guys, the inductor in the step-down power supply circuit makes a loud sound, what's going on?
- RIID emits a weak signal
- How to test wire length using LOTO oscilloscope TDR method?
- Advanced MCU Serial Port Programming
- Smart Light Design Based on MSP430F5529
- Live streaming now open: TE's smart building solutions - sensing and connectivity, the key to smart building design
- [Hua Diao Experience] 16 Use Beetle ESP32 C3 to control 8X32-bit WS2812 hard screen
- It’s hard to believe that this pair of high-speed signals changed the vias so many times!!!
- [Infineon XENSIV PAS CO2 sensor] Simple unboxing