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

Improve library debugging #25

Open
jscrane opened this issue Oct 20, 2023 · 0 comments
Open

Improve library debugging #25

jscrane opened this issue Oct 20, 2023 · 0 comments
Assignees

Comments

@jscrane
Copy link
Owner

jscrane commented Oct 20, 2023

See here.

Something like this would be good:

#define ALL 0xffffffff
#define CPU 0x00000001
#define PIA 0x00000002
#define INIT 0x00000004
// ...
#if defined(DEBUGGING)
#define DEBUG(s, x) if ((s) & DEBUGGING) Serial.x
#else
#define DEBUG(s, x)
#endif
@jscrane jscrane self-assigned this Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant