update license
move motorRefresh() function
change the timing to calculate PD (again)
add PWM base to protocol