Posts by Gabriel Magioni • 51 points
1 post
-
5
votes1
answer199
viewsQ: Convert uint16_t to int
I’m doing a project where a distance detector stores the distance in a variable uint16_t, and I need to turn it into int to make comparisons, but I can find nowhere how to do it. How to do?…