Bit of a sanity check required here I think.
I'm working with an SPI memory device that requires a 24-bit address, which I have to transfer in 8-bit bytes of course - so ultimately require 3 bytes.
Say I'm starting to write at address 129606, can I simply take the high, middle and low bytes as below?
// 129606 = 0x1FA46 char 0_timestamp_start_high = (0x1FA46 >> 16); char 0_timestamp_start_middle = (0x1FA46 >> 8); char 0_timestamp_start_low = (0x1FA46);
Many thanks in advance