I want to see how the GetRValue(...) function is implemented because my own macros above aint working as expected.
My GET_BLUE macro is the only one working, the rest are returning 0.
I want to see how the GetRValue(...) function is implemented because my own macros above aint working as expected.
My GET_BLUE macro is the only one working, the rest are returning 0.
That would be true if "nColor" is a uint8_t.
But we can't see your code.