Solved
Why is this not working ??
Hi guys
I have a real strange issue
trying to move two 8bits values in to one 16bit variable,
can someone please tell me why this does not work
It should OR the lsb to the msb
Sensor_Flow = I2C1_DATA[0] ;
Sensor_Flow = Sensor_Flow << 8;
Sensor_Flow = Sensor_Flow || I2C1_DATA[1];
thanks in addvance
