K tried that ...
I used a 10k ohm resistor to start, then switched to two 47k ohm resistors in series for 94 k ohms, and always was 1023 reading with slight variations to 1022 and 1021 randomly. I pressed my tv remote and got no reaction. Here is how I have it set up...
- 5v _____ 94 ohm ______ cathode ________ A5
anode_______ground I believe this is exactly what you mean.
Just using this simple code...
int Receiver =0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
int Receiver = analogRead(A5);
Serial.println(Receiver);
}