New lower price for Axon II ($78) and Axon Mote ($58).
0 Members and 1 Guest are viewing this topic.
I have a 10 bit number, for example, 1100000101. I want to store it in 8-bit EEPROM so I split that number into the high set and low set.High set:0000000011Low set:0000000101How do I combine these two 8 bit numbers into the original 1100000101?
uint8_t msb = 0x03;uint8_t lsb = 0x05;uint16_t n = (msb << 8) | lsb;