Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uint16_t value16;
- uint8_t value8;
- value16 <<= 8;
- value8 += 2;
- value16 = (uint16_t)(value16 << 8);
- value8 = (uint8_t)(value8 + 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement