Hello to all arduino users,
I have checked a topic here, on the Arduino forum, regarding the VarSpeedServo library, a modified version of the Servo library that allows the control of a servo speed with an additional speed parameter on the write function. I have an ongoing project where its required to vary the speed of the servo at a specific period. Unfortunately, the “original” Servo library does not allow the control of the speed. ![]()
Because of that, I started using the VarSpeedServo library as soon as I found it.
I have started the project with an Arduino Nano board, just for the first beta tests, in which the library works perfectly. Although, the final board for this project is not an Arduino board but a “compatible” one with an ARM Cortex-M3, an integrated 3-Axis accelerometer and 3-Axis gyroscope. Sadly, after I tried the test code I have made with the Arduino board I understood that the library was not compatible with the "final" board. ![]()
My question now is, is the incompatibility due to the processor or some control differences between the board? I could replace the board for a Genuino 101 for example, but I would need some confirmation that the library will work with this board. It also has an integrated accelerometer and gyroscope like the “compatible” one, two requirements I will definitely need at some point.
In conclusion, could you please confirm me if the library is compatible with other Arduino boards besides the Nano and Uno? Does anyone have used it with an Genuino 101 already?
Will I be able to implement it in a 32-bit board like the Genuino 101? Any chance to easily adapt the code for other boards?
Besides the compatibility, is there any alternative to control the servo speed? Any other library I could use? I know it would be possible to use some “for” cycles to control the speed, but that’s not really a good approach.
I would be grateful with any suggestion you may have for this issue.
Thanks in advance for your assistance ![]()