MrYsLab / pymata-aio

This is the second generation PyMata client.
https://github.com/MrYsLab/pymata-aio/wiki
GNU Affero General Public License v3.0
155 stars 51 forks source link

Firmata Plus is not compiling on arduino nano #100

Closed AlessandroDotta closed 4 years ago

AlessandroDotta commented 4 years ago

Hi There,

I followed your procedures for the installation, including all the libraries, but the following errors are still showing up when I try to compile the FirmataPlus Sketch:

Tone.cpp.o (symbol from plugin): In function `timer0_pin_port':

(.text+0x0): multiple definition of `__vector_7'

libraries\NewPing\NewPing.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1 Error compiling for board Arduino Nano.

Thanks for your help.

MrYsLab commented 4 years ago

I just tried compiling for the nano using a clean install of the Arduino IDE (1.8.9 on Ubuntu and 1.8.10 on Windows) and then added the FirmataPlus files to the library and I am not seeing the error.

Here is a screenshot of my Arduino directory on Windows (it is the same on Ubuntu): Screenshot from 2019-09-27 09-13-00

If you are not sure where your Arduino directory is located, if you open the Arduino IDE and then click File and Preferences you should see something like this. The path to the file should be shown. Screenshot from 2019-09-27 09-14-00

Does your libraries directory look like the one shown above?

MrYsLab commented 4 years ago

I am closing this issue. If you are still having issues, you can post here, and I will see the post even though the issue is now closed. If need be, I will reopen the issue.