C++ uint16_t color

Hello, I do not understand this: uint16_t color or uint8_t value.
What is "_t"?
The parameter "color" is no comma separated?
Thank You
The _t is simply a convention to indicate to the reader that the name is a type.
uint16_t is a typedef for unsigned short assuming shorts are 16 bits.
uint8_t is a typedef for unsigned char again assuming chars are 8 bits.

The parameter "color" is no comma separated?

I don't understand your question. Please show the code in context.


Last edited on
Hello, I'm sorry, I'm confused. Color is a variable. Thank You.
Yes, color is a variable. What are you confused about?

The sentence I quoted does not make sense out of context.
What does "no comma separated" mean?
Please quote the code you are referring to.

Topic archived. No new replies allowed.