This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
Replies: 1 comment
-
You certainly can use with anything or any library in normal running, provided that you write the correct code. Because this is just a simple programming knowledge (pointer, instance, etc.), I suggest you try fix the issue yourself and learn a lot thru the experience to benefit in the long run. You can also post the request for help on Arduino Forum Good Luck, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The biggest prob I faced is with pointers and objects. Your mqtt example code uses pointers and clears it to create new instances, but the same we cannot do if we do not use pointers.
The main point is that pubsub client lib accepts reference while Adafruit mqtt lib accepts pointers.
Adafruit_MQTT_Client.h
PubSubclient.cpp
So, the pointer that you are using to delete and create a new instance, I cannot do the same with PubSub client lib, can you please help here?
Showcasing short part of the code that I tried and failed.
Beta Was this translation helpful? Give feedback.
All reactions