updated udoo motor control