I believe you want to be wired up like this.
Pick the LED indicator method you want (top or bottom).
For direct drive, the top circuit, Higher PWM (analogWrite) values = brighter output.
For the bottom two, the PWM is inverted, so Lower PWM values = brighter output.
