ZUNO_SERVOS can control only 1 servo?
Posted: 09 Mar 2019 04:59
I'm working with the SimpleServo example and I've discovered that if I try to declare a single ServoController on pin13, for example
ServoController Window0(13);
... then Window0.begin(), Window0.setValue(x), and Window0.end() will work properly. Now, if I try to declare more than one, for example:
ServoController Window0(13);
ServoController Window1(14);
then Window0.begin(), Window0.setValue(x), and Window0.end() will NOT work. If I swap the order of the declarations, for example:
ServoController Window1(14);
ServoController Window0(13);
... then Window0.begin(), Window0.setValue(x), and Window0.end() WILL work properly again. So, only the LAST ServoController declaration will function.
Is the ZUNO_SERVOS code intended to support more than 1 servo?
Thanks
-G
ServoController Window0(13);
... then Window0.begin(), Window0.setValue(x), and Window0.end() will work properly. Now, if I try to declare more than one, for example:
ServoController Window0(13);
ServoController Window1(14);
then Window0.begin(), Window0.setValue(x), and Window0.end() will NOT work. If I swap the order of the declarations, for example:
ServoController Window1(14);
ServoController Window0(13);
... then Window0.begin(), Window0.setValue(x), and Window0.end() WILL work properly again. So, only the LAST ServoController declaration will function.
Is the ZUNO_SERVOS code intended to support more than 1 servo?
Thanks
-G