Thanks for replying,
Here's exactly what I am wanting to do:
So I got a scale on a boat, fish will drop on the scale and the scale will show the weight on a weight indicator. but because the boat goes up and down and sideways, the weight of the fishes wont be stable.. so thats why I am adding the gyro sensor. this will be on the scale and will measure the tilt and such of the boat and with that data it corrects the indicated weight and displays it on a different screen. (Unfortunately it isnt possible to let the scale balance itself out, the scale is fixed to the boat)
Gyro sensor: 9DoF Razor IMU
Weight indicator: MCT 1302
I am using the RS232 outputs of the gyro and the indicator to connect to the arduino (Rx and Tx)
so in my program what I still need to write, I want to use the data of the weight indicator, so for example it shows the fish are 4Kg. but the boat is tilting so we also use the data of the gyro sensor to add more weight to the indicated weight of the weight indicator, so if the boat tilts alot, it will add 2Kg (as an example) so it will show 6Kg on the 2nd monitor I got as the ''corrected'' weight.
But I am struggeling to find an answer on how to add these two pieces of data together.
thanks in advance.