Thanks for the answer and the info but you haven't really answered my question.
What i am basically asking is this:
"When a pin is configured to OUTPUT with pinMode, and set to LOW with digitalWrite, the pin is at 0 volts. In this state it can sink current, e.g. light an LED that is connected through a series resistor to, +5 volts, or to another pin configured as an output, and set to HIGH. "
Can i achieve the exact same thing by setting a pwm pin to 0? In other words, if a pwm pin is set to 0 then can it sink current?
Again thanks :>