Add demo code for 8 pwm core