Is a lookup table the best option?

Hello,

Thanks for the reply.

From tests I have done, the relationship seems to be linear, yes. As for the resolution, yea, I think 1 gram would be good, but they may settle for 10 gram steps.

Seán