R
Randy
I am writing and reading to a microcontroller.
My largest allowable variables are 16 bit and 8 bit
How can I write a 24 bit value when I am limited by 16 and 8 bit
variables?
For instance I need to send a register value of HEX 200110 which is
configured for 24 bits.
This is equal to 2,097,424 in decimal format.
How do I divide this up into a 16 and 8 bit or 3 8-bit variable values
to send and receive?
I can send it HEX or Binary.
Thanks
My largest allowable variables are 16 bit and 8 bit
How can I write a 24 bit value when I am limited by 16 and 8 bit
variables?
For instance I need to send a register value of HEX 200110 which is
configured for 24 bits.
This is equal to 2,097,424 in decimal format.
How do I divide this up into a 16 and 8 bit or 3 8-bit variable values
to send and receive?
I can send it HEX or Binary.
Thanks