Darryl, your light helped!

Of course all waht you do is subract it from the highest number. as analogue 1024-value.

thks!

Peter