Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 120881

A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.

1 vote

Convert Arduino Code to STM32 cubeide,

Do something like you do in Arduino example where you first check is data is available and then move on to the next UART. …
floppydisk's user avatar
2 votes

Serial reading returns undefined characters

I would suggest that after you receive a packet of data over UART you look for your end marker (0D 0A) and separate the two bytes after that as address into uint16_t variable. …
floppydisk's user avatar
2 votes
Accepted

FT232 UART connected with a light sensor BH1750

BH1750 uses I2C interface (you can tell by pin names SDA/SCL), but your adapter has UART. You won't be able to connect these two. … Or you need to choose a different sensor that has UART interface. …
floppydisk's user avatar