HAL_UART_Transmit() and HAL_UART_Receive() API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-25 11:45 AM
I am using Nucleo board and Tera term for serial monitor
I want to do simple addition program
I want to take two values from serial monitor by typing (number + Enter ) and print back its addition
Expect output on Serial monitor:
enter value A : 5
enter value B : 6
Sum is : 11
Give me a code example
Labels:
- Labels:
-
STM32Cube MCU Packages
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-25 10:55 PM
I would suggest to browse SIF.C in this project
It uses Android's bluetooth electronics and HC-05 UART to Bluetooth to send/receive/control/widget represent data in the STM32. May not be a shortcut to your needs, yet...
