Servotor32 Firmware 2.0 compilation error

The Servotor32 board that was shipped to me had v1.3. I tried to upload v2.0, but got compilation error in Arduino. I was able to upload v1.7.

I was also not able to communicate Servotor32 with PoMoCo (the software says connected on the COM port that the board is connected, but then always try to send commands to COM2 port).

Could someone help me get my hexy up and running?

Hi Sujith,

What was the error you got when you were compiling?
Did you make sure to have all of the folders in the firmware download in the same folder? Not doing so can lead to compilation errors.

I unzipped to the “library” folder in Arduino and opened the sketch and when compiling, getting the error that “Servotor32” is declared multiple times in the cpp file. Similar other error messages relating to declaration is also there in the log.

Hi Sijith,

Did you both add it as a library, and open the folder separately and try to load it from there? If you added it as a library, try loading the example from the arduino library example menu. This error arises when you both add it as a library and open the library folder separately as though it hadn’t been added.

Here is what I have done:

  1. Unzipped the file to library folder.
  2. Restarted Arduino
  3. Opened the example from the library menu in Arduino.
  4. Tried compiling and got the error.

Hi Sijith,

I wouldn’t add it as a library. Try uninstalling it as a library, and opening it in its own folder.

If you added it as a library, try loading the example from the arduino library example menu. This error arises when you both add it as a library and open the library folder separately as though it hadn’t been added.???