aabmets / SIM800

A comprehensive SIM800 Series library for simplified and in-depth chip access.
GNU Affero General Public License v3.0
38 stars 27 forks source link

Error when compiling on ardunio #6

Closed Spyker2000 closed 6 years ago

Spyker2000 commented 6 years ago

When i included the SIM800.h into my sketch and compiled the program I got an error message say that the sim800.h was defined as extern and that the 800.cpp was defined as static (at the bottom of the files). I had to change the sim800.cpp to extern to get it to work.

Is this problem?

aabmets commented 6 years ago

Downloaded the library and tested compilation on Arduino Desktop Edition 1.8.5 with Arduino UNO as compilation target. Result: Everything works and without errors.

Spyker2000 commented 6 years ago

Thanks for the quick reply.

I will check my desktop version. I am using a mini pro but also tried it on a uno. Both had the same problem. I will get back to you.

Thanks once again.

Spyker2000 commented 6 years ago

Am using v 1.6.9 on the desktop. I will upgrade and try again.