add channel for homing position
add parameters for commutation offset, winding types
minor fix