Hi,

Thanks for your answer. It works now.
I've used anselh = 0 and now I get the righ value back when reading a value from the pic.