Add PWM code, not finished

Signed-off-by: Yitao Zhang <xtayyt@gmail.com>