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

Connection with Arduino IDE #35

Open
ujur007 opened this issue Jun 28, 2017 · 0 comments
Open

Connection with Arduino IDE #35

ujur007 opened this issue Jun 28, 2017 · 0 comments

Comments

@ujur007
Copy link

ujur007 commented Jun 28, 2017

I am using Easymesh in Arduino IDE to program ESP8266.
I get error in using some functions provided. I have some questions.

when I Download and include easyMesh.h in my program, what happens to the parameters of the function, functions which are not defined in easyMesh.h but in other files like easyMesh.cpp in the same folder? Will the compiler automatically search those things?

Some functions like the one below has 2 different names, which one should I use?

###void easyMesh::setReceiveCallback( &receivedCallback ) Set a callback routine for any messages that are addressed to this node. The callback routine has the following structure…

void receivedCallback( uint32_t from, String &msg )

I get error in the following line
mesh.setReceiveCallback( uint32_t ID, String &msg); //error is here

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

1 participant