I see people like to use uint8 for buff declaration. It looks good to me as well, but I just wonder which header file I should include to use that type or I have to define it by myself? I think it becomes meaningless if I declare it by myself since I have to change code in the future if necessary.
And I saw someone use uint8_t type as well, what's the different between uint8 and uint8_t?
Thanks.