IR velocity sensor KE-204

...
Hello everyone,
this is my first post at Arduino community. I was developing a bit since 3 months ago and learning.

I'm interested on extract info from the encoder Ke-204 and read speed digital generated data but when I plug the encoder it doesn't sends anything.

Anybody could help me?

How can I upload the datasheet to this treath?

Thanks,
Mudo

...

first off, how do you have it wired and what code are you using, also, do you have a link to the datasheet for it?

I think you need to make a second post before you can add links.

...

I have wired to two digital pins (declared as inputs) and vcc and ground.

I'm wondering about some resistance needs but I couldn't attach the datasheet.

Thanks

...

...
about coding:

I'm trying to integrate inside the "blinking led" exercice for have a feedback.

int ledPin = 13; // choose the pin for the LED
int VoutA = 10; // choose the input pinA (for a Vout A)
/int VoutB = 11; // choose the input pinB (for a Vout B)/
int valA = 0; // variable for reading the pinA status
/*int valB = 0; // variable for reading the pinA status
#define PUSH_PULL true // false = OCR1A only, true = OCR1A + OCR1B
/
void setup() {
pinMode(ledPin, OUTPUT); // declare LED as output
digitalWrite(ledPin,HIGH); // declare LED status as HIGH
/
pinMode(VoutA, INPUT); // declare pushbutton as input
/pinMode(VoutB, INPUT); // declare pushbutton as input/
}

void loop(){
valA = digitalRead(VoutA); // read input value
/valB = digitalRead(VoutB); // read input value/

/if (valA == HIGH); // && valB == LOW); // check if the input is HIGH
digitalWrite(ledPin, LOW); // turn LED OFF
/
while (valA==HIGH) {
digitalWrite(ledPin, LOW);
}
/digitalWrite(ledPin, HIGH);/

}

I was done some try outs without response...

...

Can you use the "Code" ("#") button above when posting code, and remove any stuff that is deliberately commented-out, please?
It's really hard to read stuff like that.

...

int ledPin = 13;          
int VoutA = 10;            

void setup() {
 pinMode(ledPin, OUTPUT);      
 digitalWrite(ledPin,HIGH);    
 pinMode(VoutA, INPUT);       
 int valA = 0;  
}

void loop(){
 valA = digitalRead(VoutA);  
 
  while (valA==HIGH) {
   digitalWrite(ledPin, LOW);
 

}
}

...