thinger-io / Arduino-Library

IOTMP Arduino Library for connecting devices to thinger.io #IoT
https://thinger.io
MIT License
111 stars 66 forks source link

compile error #27

Closed Magic-Doufu closed 2 years ago

Magic-Doufu commented 4 years ago

Arduino IDE return an compile error in thinger_resource.hpp when I include "ThingerYun.h". enum access_type > "INTERNAL" is redefined. This is defined in Arduino.hpp and is included by default. I try to delete thinger_resource.hpp line 56. It works.

arslan437 commented 4 years ago

@Magic-Doufu is your issue fixed?

Magic-Doufu commented 4 years ago

@arslan437 Yes. It just need to delete/comment out line 56 in "thinger_resource.hpp" file.

arslan437 commented 4 years ago

yes, it fixed the issue.