Skip to content
New issue

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

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

Already on GitHub? # to your account

Debug not work #2

Open
thetiana opened this issue Feb 11, 2020 · 2 comments
Open

Debug not work #2

thetiana opened this issue Feb 11, 2020 · 2 comments

Comments

@thetiana
Copy link

The debug not work at all

I don't have display, and i leave it commented.
After i replace every D_PRINT with Serial.print and every D_PRINTLN with Serial.spintln the debug is working proper.

Tomorrow i can contribute fixed code.

@AmedeeBulle
Copy link
Owner

You shouldn't have to replace anything as the macros are defined here:

#include <Arduino.h>
extern Serial_ debug;
#define D_FLUSH { debug.flush(); delay(500); }
#endif
#define D_PRINT(x) (debug.print(x))
#define D_PRINTLN(x) (debug.println(x))

and the debug variable is setup here:

Serial_ debug = Serial;

I am not sure why that doesn't work for you...

@thetiana
Copy link
Author

The same config, but not work.
I already make fork of your project, there I fix serial debug. Those days i will try to fix also display debug and add BMP180 sensor support.

You can see the fork in my account.

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

No branches or pull requests

2 participants