21IC bought a one-dollar activity board and transplanted the RTT (RT-THREAD) embedded operating system. The system can run normally, and then write a serial port driver according to the RTT official website tutorial.
The original definition of the UART1 port, but did not find the board's USART1 pin, although the STM32 can be mapped, but still did not see the thrown out of the pin. At first, I took a look at the official website's user manual and found that there was USART2 on the map.
Take a look at the picture above.
Good guys, then directly grounded, then connect the TX and RX to the USB-to-PC serial port.
The cup came and I found that my program didn't print out anyway. I doubted my code had a problem. Try using mbed's sample BIN file and find that it doesn't work. Is it the level problem? For other people use the development board and PC's USB to serial port, oh mygod! ! Or not.
Disheartened and disheartened. Nothing can be problematic. Is not a problem with the serial port software, try to change the serial port to try, ----- "serial data out! ! !
Neuropathy, how the data does not come out of my USB to serial port, but comes out of a serial port. . . . . .
Affirm this board has a mechanism, look at the manual again
Good guy, even with USB to virtual serial port. Very powerful! The data can come out of you, understandable.
Okay, let’s see if I’m going to be different from what you’re going to do, take a look at the USART connection setup section of the manual.
The chicken intestines said that the model really connects USART2 with ST-LINK.
Electronic cigarettes, also known as e-cigarettes or vapes, are battery-powered devices that vaporize a liquid containing nicotin, flavorings, and other chemicals. Users inhale this aerosol, which is commonly referred to as "vapor."
YUOTO is a brand of electronic cigarettes that hot sale in USA/UAE. Their products include disposable and rechargeable e-cigarettes, as well as e-liquids and accessories such as cartridges and chargers. YUOTO vape use high-quality materials and advanced manufacturing processes to produce their products, and they also offer a satisfaction guarantee and customer support.
YUOTO Vape,YUOTO Disposable Vape,YUOTO Vape Kit,YUOTO Vape Pod
TSVAPE Wholesale/OEM/ODM , https://www.tsecigarette.com