projectsira:
I'm using arduino
the table writes: pin 1 - pulse, pin 2 - direction, pin 3- GND, pin 4 - index, pin 5 - vcc, pin 6 - cs
and my question is:
pins 1,2,4,5 - to digital pin or to pwm ?
I think the 6 pin is to GND also ? is it true ?
and from which pin do I get the value I want ?about the code:
what is the reading code ?
As far as I can see you get the readings from pin 1 and pin 2 (and to skip to your last question, I don't know how to write a program to read them, but I could experiment).
I'm not sure what pin 4 does.
Pin 6 allows you to select the device (or not) with the Arduino. This is only needed if you have several devices. In your case, just connect it to GND so it is permanently selected.
I don't really understand why you are asking about PWM pins unless the lettering on the Arduino is confusing you. All the pins can be used as digital pins (except 0 and 1 which are used for Serial communications). Only those marked PWM can be used with analogWrite() which you don't need to read your device.
I suspect a bit of Googling will find some demo code for reading the device.
...R