so I'm trying to combine two Uint_16 sensor readings into one integer value so they can be transferred in one Tx transmission. Eg. 100 and 101 would turn into 100101.
I'm using value=(100*1000)+101; at the moment but feel as if there is a much more efficient way to do this, I know in VHDL " &" can be used to do this. does anyone know of any functions that do this better? I'm going to try pointers in the time being.