Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pubsub Client call back error #3

Closed
clebarron opened this issue Feb 10, 2016 · 1 comment
Closed

Pubsub Client call back error #3

clebarron opened this issue Feb 10, 2016 · 1 comment

Comments

@clebarron
Copy link

I have tried compiling in linux and windows and each throws roughly the same error.
Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"

adafruit_io_sensors:40: error: 'callback' was not declared in this scope

PubSubClient mqttclient("io.adafruit.com", 1883, callback, client);

                                              ^

exit status 1
'callback' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
its always in the call back client, most recent libraries are installed, also tried other suggestions from older issue.still no go.

@marcoschwartz
Copy link
Contributor

Fixed :) It was simply an error due the latest Arduino IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants