Exact steps to bitbang PWM plz!

Exact steps to bitbang PWM plz!

Why not just use the PWM devices in /sys/class/pwm?