void function ( ) { mDirection = ! mDirection ; update ( ) ; }
switch the direction from forward to reverse and vice versa . concode_field_sep boolean mBraking concode_elem_sep boolean FORWARD concode_elem_sep boolean mDirection concode_elem_sep short mSpeed concode_elem_sep boolean REVERSE concode_elem_sep TPU_PWM mPwm1 concode_elem_sep TPU_PWM mPwm2 concode_field_sep void setSpeed concode_elem_sep void brake concode_elem_sep boolean getDirection concode_elem_sep short getPwmUptime concode_elem_sep boolean isRunning concode_elem_sep void printStatus concode_elem_sep short getSpeed concode_elem_sep void update concode_elem_sep boolean isBraking concode_elem_sep void setMotor concode_elem_sep void setDirection