Servo with Bend / Flex Sensor


I’am trying to make a project with a Servo Sensonr controller by a Flex sensor (bend sensor) but it does not working with Xod.

It works with the Arduino code but I would like to know how to achieve the diagram and to change the numbers to have a rotation of more than 180 grade in xod.

Thank you.