fixed pwmtick to accept pwmod input using percentage values
pwmtick must have a return value
Merge branch 'wave' into develop