add pwm test in mem function
collect .h file to include direction