Basic drive code, motor pindefs