use code of 'tiny_four_pwm' to display light pattern