How I see it: Resistor is from pin 1 to pin 3, pin3 to negative on capsule and plus on capsule to pin 2