mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-04 11:44:08 +05:30
Simplified #ifdef for PWM servos
This commit is contained in:
parent
838f5f735e
commit
58fc3dee09
@ -62,12 +62,11 @@
|
|||||||
//#define ARDUINO_ENC_COUNTER
|
//#define ARDUINO_ENC_COUNTER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USE_SERVOS // Enable use of PWM servos as defined in servos.h
|
#define USE_SERVOS // Enable/disable use of PWM servos as defined in servos.h
|
||||||
//#undef USE_SERVOS // Disable use of PWM servos
|
|
||||||
|
|
||||||
/* Include servo support if required */
|
/* Include servo support if required */
|
||||||
#ifdef USE_SERVOS
|
#ifdef USE_SERVOS
|
||||||
#include <Servo.h>
|
#include "Servo.h"
|
||||||
#include "servos.h"
|
#include "servos.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user