We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [data-type]

Identifies the size and nature of information held by a variable in a program. It is language-dependent. Examples for C/C++ include: `int`, `float`, and `char`.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
142 views

Integer corruption

I use a sensor to measure the temperature. This is returned as float. I feed this float using typecasting (int) to a blink function. This works fine. But the next is step is using this same unchanged ...
0
votes
0answers
29 views

Data Structures and Color Data Types in FastLED

So i'm doing something wrong but i don't exactly know what and hope somebody can give me a quick pointer: I declared a starting color for my fastled animation: CHSV startcolor(100, 255, 255); and ...
0
votes
0answers
73 views

Buffer to string

I'm a bit of a noob, so excuse if this is more obvious to me than to you. I want to convert a u16 to a string. The u16 is the data coming in from the sensor. I need it as a string, or anything else ...