Added params in mint_pi_dcmotor op so that init is done only once, but
user can ask otherwise. See pi.h for docs.