예제 #1
0
static void DirRPutVal(bool val) {
#ifdef PL_INVERT_RIGHT_MOTOR_DIRECTION
  val = !val;
#endif
  DIRR_PutVal(val);
#if PL_HAS_MOTOR_INAB
  DIRRB_PutVal(!val);
#endif
}
예제 #2
0
static void DirRPutVal(bool val) {
  DIRR_PutVal(val);
}
예제 #3
0
static void DirRPutVal(bool val) {
  DIRR_PutVal(val);
#if PL_HAS_MOTOR_INAB
  DIRRB_PutVal(!val);
#endif
}
예제 #4
0
파일: Motor.c 프로젝트: endru4/INTRO_AC_GIT
static void DirRPutVal(bool val) {
  /*! \todo Check if directions are working properly with your hardware */
  DIRR_PutVal(val);
}