Created
November 25, 2017 11:59
-
-
Save valentyn-zaitsev/431f43bfc99d7281a916dc8bab392fb1 to your computer and use it in GitHub Desktop.
Uint16_t to uint8_t
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hightByte[0] = (uint16_tValue >> 8); | |
lowByte[1] = uint16_tValue & 0xff; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment