pubnub / arduino

The Official PubNub Arduino-based API!
Other
103 stars 49 forks source link

Arduino Yun #24

Closed luigi67 closed 5 years ago

luigi67 commented 5 years ago

Hi How I can use this library with Arduino Yùn board, do you hav an example? Thanks Luigi

vveljko commented 5 years ago

Hi Luigi,

We don't have an example and don't have a Yun to try. But, from documentation, it should work if you use BridgeClient for PubNub_BASE_CLIENT.

Also, for general questions like these, please use Pubnub support, you'll receive a much better service - support@pubnub.com.

Regards, Vlada

luigi67 commented 5 years ago

Hi Vlada I took your advice and it works fine. I use your last library (3.0.0) but when I try to use PubNubSubscriber example, I receive this compilation error 'SubscribeMessageCracker' was not declared in this scope, why? I tried your example without modifies, but the compilation error persists. Cheers Luigi

sveljko commented 5 years ago

Sorry about that, it's a typo. Change to SubscribeCracker. This is fixed in version 3.0.1, which will probably appear in Arduino IDE in a few days, but, it's simple change, you can do it yourself.

vveljko commented 5 years ago

Closing this because of inactivity. If you still face issues, reopen this or file a new one, or, better yet, contact Pubnub support at support@pubnub.com.