Hi,
All is in the question ^^.
I have an inductif sensor, i want to recuperate the digital output, but he has a tension of -2Vdc.
Does the output vary between 0V and -2V ?
If this is the case, then you may use the analog input of the card.
You have to use a resistor voltage divider connected between the output of your sensor and +5V of the card. Connect the output of the voltage divider to the analog input
The problem is regled.
I put the + of the sensor, and the output.
Now, i have a voltage about 1,5V.
Sucess.
Ty.