update_v0.4: PWM input Support: NOT COMPLETE
update_v0.5: PWM I/O Success