Its was a long time ago !
Huuuu...
I don't remember exactly, but I haven't this kind of problem.
Maybe two ideas :
- An inverted sign (+/-) in calibration script
- An inverted pin in you hardware