6v pwm?

Hallo How can I get a pwm output that is 6Volts instead of 5V?


Run the PWM Arduino pin through a resistor to a transistor with the collector tied to 6v and emitter to GND.

Tap your 6v signal from the collector.

Note that this will invert the signal so 0 will == 255 and vv.


Thank you very much Rob