Can't get expected readings using PulseIn command

I've stripped this down to basics hardware-wise. My proto shield is out of the picture in order to eliminate it as any possible cause. I simply have three connections from my RC receiver to the Uno: +5V, GND, and a CH1 signal from the Rcvr. My receiver has no power indicator so I plugged a servo into CH2 and verified that it is controlled by the RC transmitter. So everything looks right power-wise and the receiver is functioning. Beforehand I verified that I could control a servo from CH1 so I know that output works.

I tried connecting the signal lead to various atmega pins via the Uno connectors, obviously recompiling each time. All I ever get from the monitor is zeroes. Happily with my shield dismounted I can now probe atmega pins direct and I see the DC level at the selected input pin varying as I move the RC transmitter's stick. There definitely seems to be a PWM signal.

My damn camera battery just died so I cannot upload pictures of my three wires connecting to the Uno. I will upload later (do I simply paste the jpeg images into here?). I will add some of my shield for any interest.

I don't understand why you remark that my code is incomplete. Here is another try at placing it here; I clicked on "select all" in the editor window then "copy". Hopefully I used the code tags properly this time. Is there something fundamental the code is missing? I'm literally copying examples from the reference but perhaps they assume one already has a functional code framework for the sketch.


int duration;

void setup() {
  // put your setup code here, to run once:
  pinMode(6, INPUT);
  Serial.begin(9600);

}

void loop() {
  // put your main code here, to run repeatedly:
  duration = pulseIn(6, HIGH, 25000);
  Serial.println(duration);

  delay(100);
}