-
Notifications
You must be signed in to change notification settings - Fork 1k
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
What's different between a RF24 object pointer and a RF24 object? #292
Comments
Oh, I guest it's a language problem ? I use 'Arduino IDE for Microsoft Visual Studio' in vs2015, the processing syntax does not support '->' ? I'm not sure that, because vs can successfully compile and link. |
Here is the code which could be run successfully. Do you see the difference?
|
Haha, perhaps I have already addressed the problem, which is function of 'printDetails()'. When I comment this call, both of codes run well. |
It seems that printf() which printDetail() called inside has some problem? #189 |
Does it work if you add the include for |
Hello, I found a strange thing when I used the RF24 class.
This is my test code as follow. I try to use a RF24 object pointer instead of a RF24 object, but it will restart the arduino uno again, again and again. After it calls any RF24 functions except 'available()' in loop(), it will print endless lines of 'Receiver Starting...' on the serial monitor window, which means that arduino uno reenter the setup() repeatedly.
Perhaps it is not a BUG, and that is just the wrong way I use RF24 ?
By the way, if I change all the RF24 object pointers as RF24 objects as your example shows, everything is fine.
The text was updated successfully, but these errors were encountered: